Merge pull request #5590 from Icinga/fix/log-level-config-sync

Silence log level for configuration file updates
This commit is contained in:
Michael Friedrich 2017-09-20 14:06:20 +02:00 committed by GitHub
commit 65390298be

View File

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