From: Gunnar Beutner Date: Wed, 18 Sep 2013 08:30:11 +0000 (+0200) Subject: Change log level for some messages. X-Git-Tag: v0.0.3~477 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e045ece3debac170fb8b21f50b09942827fc6a47;p=icinga2 Change log level for some messages. --- diff --git a/lib/icinga/service-downtime.cpp b/lib/icinga/service-downtime.cpp index 9686b905f..471a7afc2 100644 --- a/lib/icinga/service-downtime.cpp +++ b/lib/icinga/service-downtime.cpp @@ -193,12 +193,12 @@ void Service::TriggerDowntime(const String& id) return; if (IsDowntimeActive(downtime) && IsDowntimeTriggered(downtime)) { - Log(LogWarning, "icinga", "not triggering downtime with ID '" + downtime->Get("legacy_id") + "': already triggered."); + Log(LogDebug, "icinga", "Not triggering downtime with ID '" + downtime->Get("legacy_id") + "': already triggered."); return; } if (IsDowntimeExpired(downtime)) { - Log(LogWarning, "icinga", "not triggering downtime with ID '" + downtime->Get("legacy_id") + "': expired."); + Log(LogDebug, "icinga", "Not triggering downtime with ID '" + downtime->Get("legacy_id") + "': expired."); return; } @@ -208,7 +208,7 @@ void Service::TriggerDowntime(const String& id) now > downtime->Get("end_time")) return; - Log(LogWarning, "icinga", "triggering downtime with ID '" + downtime->Get("legacy_id") + "'."); + Log(LogDebug, "icinga", "Triggering downtime with ID '" + downtime->Get("legacy_id") + "'."); if (downtime->Get("trigger_time") == 0) downtime->Set("trigger_time", now);