From: Otto Moerbeek Date: Thu, 26 Jan 2023 08:35:25 +0000 (+0100) Subject: rec: Backport 12467 to rec: 4.8.x: do not use "message" as key, it has a special... X-Git-Tag: rec-4.8.2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12475%2Fhead;p=thirdparty%2Fpdns.git rec: Backport 12467 to rec: 4.8.x: do not use "message" as key, it has a special meaning to systemd-journal --- diff --git a/pdns/secpoll-recursor.cc b/pdns/secpoll-recursor.cc index 91774af85c..0c8d7b869e 100644 --- a/pdns/secpoll-recursor.cc +++ b/pdns/secpoll-recursor.cc @@ -85,7 +85,7 @@ void doSecPoll(time_t* last_secpoll, Logr::log_t log) g_security_message = security_message; - auto rlog = vlog->withValues("message", Logging::Loggable(g_security_message), "status", Logging::Loggable(security_status)); + auto rlog = vlog->withValues("securitymessage", Logging::Loggable(g_security_message), "status", Logging::Loggable(security_status)); if (g_security_status != 1 && security_status == 1) { SLOG(g_log << Logger::Warning << "Polled security status of version " << pkgv << ", no known issues reported: " << g_security_message << endl, rlog->info(Logr::Notice, "Polled security status of version, no known issues reported"));