From e045ece3debac170fb8b21f50b09942827fc6a47 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 18 Sep 2013 10:30:11 +0200 Subject: [PATCH] Change log level for some messages. --- lib/icinga/service-downtime.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.50.0