]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use structured logging
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 18 Dec 2024 13:40:55 +0000 (14:40 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 10 Feb 2025 13:01:07 +0000 (14:01 +0100)
pdns/recursordist/rec_channel_rec.cc

index 688b88f50ec8ace7371b332ab638a6e4cd031b9a..f40129beebc506c89fc3276eb5835be14cd5309a 100644 (file)
@@ -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..