]> granicus.if.org Git - icinga2/commitdiff
Remove debug output in NotificationComponent
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 16 Aug 2016 11:47:48 +0000 (13:47 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 16 Aug 2016 11:48:09 +0000 (13:48 +0200)
refs #12402

lib/notification/notificationcomponent.cpp

index 5a8167b1cd0c638cb3c299fb01f67e5a053e8804..69d227fc1687a2427bb22d7b45b8708758104846 100644 (file)
@@ -83,11 +83,8 @@ void NotificationComponent::NotificationTimerHandler(void)
                if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications())
                        continue;
 
-               if (notification->GetInterval() <= 0 && notification->GetNoMoreNotifications()) {
-                       Log(LogDebug, "NotificationComponent")
-                           << "Skipping reminder notification '" << notification->GetName() << "'. Interval is 0 and no more notifications are required.";
+               if (notification->GetInterval() <= 0 && notification->GetNoMoreNotifications())
                        continue;
-               }
 
                if (notification->GetNextNotification() > now)
                        continue;