]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: fix webserver loglevel from config
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 10 Nov 2025 08:07:58 +0000 (09:07 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 10 Nov 2025 08:07:58 +0000 (09:07 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/ws-recursor.cc

index 074e5256cbd57557297d72f01aa2b9b419833a6c..88177590b8ccc039d8238f271a03e31558c67a9c 100644 (file)
@@ -1015,7 +1015,7 @@ void serveRustWeb()
   pdns::rust::misc::LogLevel loglevel = pdns::rust::misc::LogLevel::Normal;
   const auto& configLevel = ::arg()["webserver-loglevel"];
   if (configLevel == "none") {
-    loglevel = pdns::rust::misc::LogLevel::Normal;
+    loglevel = pdns::rust::misc::LogLevel::None;
   }
   else if (configLevel == "detailed") {
     loglevel = pdns::rust::misc::LogLevel::Detailed;