Add log message if notifications are forced (i.e. filters are not checked)

fixes #12404
This commit is contained in:
Michael Friedrich 2016-08-11 16:23:58 +02:00
parent 8b12683e0d
commit f5d5eaf344
1 changed files with 7 additions and 0 deletions

View File

@ -352,6 +352,9 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
return; return;
} }
} }
} else {
Log(LogNotice, "Notification")
<< "Not checking notification filters for notification object '" << GetName() << "': Notification was forced.";
} }
{ {
@ -488,6 +491,10 @@ bool Notification::CheckNotificationUserFilters(NotificationType type, const Use
return false; return false;
} }
} }
} else {
Log(LogNotice, "Notification")
<< "Not checking notification filters for notification object '"
<< GetName() << "' and user '" << user->GetName() << "': Notification was forced.";
} }
return true; return true;