mirror of https://github.com/Icinga/icinga2.git
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
This commit is contained in:
parent
f0114aacdd
commit
7bdeeeadcf
|
@ -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) << "' ("
|
||||
|
|
Loading…
Reference in New Issue