From: Otto Moerbeek Date: Mon, 10 Nov 2025 08:07:58 +0000 (+0100) Subject: rec: fix webserver loglevel from config X-Git-Tag: rec-5.4.0-alpha1~123^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2369500b4ee0c1557e03e6d0a7e2cb75089b5f3f;p=thirdparty%2Fpdns.git rec: fix webserver loglevel from config Signed-off-by: Otto Moerbeek --- diff --git a/pdns/recursordist/ws-recursor.cc b/pdns/recursordist/ws-recursor.cc index 074e5256cb..88177590b8 100644 --- a/pdns/recursordist/ws-recursor.cc +++ b/pdns/recursordist/ws-recursor.cc @@ -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;