mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 09:04:35 +02:00
Merge pull request #5590 from Icinga/fix/log-level-config-sync
Silence log level for configuration file updates
This commit is contained in:
commit
65390298be
@ -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) << "' ("
|
||||||
|
Loading…
x
Reference in New Issue
Block a user