]> granicus.if.org Git - icinga2/commitdiff
Silence log level for configuration file updates 5590/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Wed, 20 Sep 2017 11:30:02 +0000 (13:30 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Wed, 20 Sep 2017 11:30:02 +0000 (13:30 +0200)
This only helps with debugging the configuration sync, but seems
to be highlighted quite often in default configurations (where
the timestamp is equal).

refs #5566

lib/remote/apilistener-filesync.cpp

index 926d4c336530081b738acce6dd321415031c8ed5..0743d25bcb4e4becb5b86f368c862244b6f31c7a 100644 (file)
@@ -99,7 +99,7 @@ bool ApiListener::UpdateConfigDir(const ConfigDirInformation& oldConfigInfo, con
 
        /* skip update if our configuration files are more recent */
        if (oldTimestamp >= newTimestamp) {
-               Log(LogInformation, "ApiListener")
+               Log(LogNotice, "ApiListener")
                    << "Our configuration is more recent than the received configuration update."
                    << " Ignoring configuration file update for path '" << configDir << "'. Current timestamp '"
                    << Utility::FormatDateTime("%Y-%m-%d %H:%M:%S %z", oldTimestamp) << "' ("