]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Be less scary in logs 16956/head
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 11 Mar 2026 14:35:52 +0000 (15:35 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2026 14:35:52 +0000 (15:35 +0100)
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/remote_logger.cc

index 306d4418489fb6c513f768f668ba019aa9593ab0..4937d880ae0545e9102461b05975976784163f61 100644 (file)
@@ -139,7 +139,7 @@ bool RemoteLogger::reconnect()
          g_slog->withName("protobuf")->error(Logr::Error, e.what(), "Exception while connecting to remote logger", "address", Logging::Loggable(d_remote)));
 #else
     SLOG(warnlog("Error connecting to remote logger %s: %s", d_remote.toStringWithPort(), e.what()),
-         dnsdist::logging::getTopLogger("protobuf")->error(Logr::Error, e.what(), "Exception while connecting to remote logger", "address", Logging::Loggable(d_remote))
+         dnsdist::logging::getTopLogger("protobuf")->error(Logr::Warning, e.what(), "Exception while connecting to remote logger", "address", Logging::Loggable(d_remote))
       );
 #endif