]> granicus.if.org Git - icinga2/commitdiff
Change log level for some messages.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 18 Sep 2013 08:30:11 +0000 (10:30 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 18 Sep 2013 08:30:11 +0000 (10:30 +0200)
lib/icinga/service-downtime.cpp

index 9686b905f9c8ee132026e84b66cc9554b92b4de6..471a7afc236732316d0e2191d5cd448f6ab2bc2d 100644 (file)
@@ -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);