From: Michael Friedrich Date: Tue, 16 Aug 2016 11:47:48 +0000 (+0200) Subject: Remove debug output in NotificationComponent X-Git-Tag: v2.5.0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=832b5bed2a783aabf92356f2bb7fa99a867c12a4;p=icinga2 Remove debug output in NotificationComponent refs #12402 --- diff --git a/lib/notification/notificationcomponent.cpp b/lib/notification/notificationcomponent.cpp index 5a8167b1c..69d227fc1 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -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;