]> granicus.if.org Git - icinga2/commitdiff
Don't spam the log with reminder notifications not being sent
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 12 Feb 2015 13:51:17 +0000 (14:51 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 12 Feb 2015 13:51:17 +0000 (14:51 +0100)
fixes #7731

lib/notification/notificationcomponent.cpp

index 67357f1019d6f0bd49b7e1037e617046505f47a7..7b65a69cd95a3b88f05714312dae5db35e26e0fc 100644 (file)
@@ -110,8 +110,8 @@ void NotificationComponent::NotificationTimerHandler(void)
                }
 
                try {
-                       Log(LogInformation, "NotificationComponent")
-                           << "Sending reminder notification for object '" << checkable->GetName() << "'";
+                       Log(LogNotice, "NotificationComponent")
+                           << "Attempting to send reminder notification for object '" << checkable->GetName() << "'";
                        notification->BeginExecuteNotification(NotificationProblem, checkable->GetLastCheckResult(), false);
                } catch (const std::exception& ex) {
                        Log(LogWarning, "NotificationComponent")