From 7bdeeeadcf817381f180948bc02909ed4f363581 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 20 Sep 2017 13:30:02 +0200 Subject: [PATCH] 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 --- lib/remote/apilistener-filesync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) << "' (" -- 2.40.0