From: Michael Friedrich Date: Wed, 20 Sep 2017 11:30:02 +0000 (+0200) Subject: Silence log level for configuration file updates X-Git-Tag: v2.8.0~77^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bdeeeadcf817381f180948bc02909ed4f363581;p=icinga2 Silence log level for configuration file updates 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 --- diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index 926d4c336..0743d25bc 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -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) << "' ("