From: Otto Moerbeek Date: Wed, 18 Dec 2024 13:40:55 +0000 (+0100) Subject: Use structured logging X-Git-Tag: dnsdist-2.0.0-alpha1~96^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d47dac7ce0e3905c66030b960e98ed0732d6f8;p=thirdparty%2Fpdns.git Use structured logging --- diff --git a/pdns/recursordist/rec_channel_rec.cc b/pdns/recursordist/rec_channel_rec.cc index 688b88f50e..f40129beeb 100644 --- a/pdns/recursordist/rec_channel_rec.cc +++ b/pdns/recursordist/rec_channel_rec.cc @@ -1378,7 +1378,7 @@ void doExitGeneric(bool nicely) #if defined(__SANITIZE_THREAD__) _exit(0); // regression test check for exit 0 #endif - g_log << Logger::Error << "Exiting on user request" << endl; + g_slog->withName("runtime")->info(Logr::Notice, "Exiting on user request"); if (!g_pidfname.empty()) { unlink(g_pidfname.c_str()); // we can at least try..