From: Otto Moerbeek Date: Fri, 1 Oct 2021 11:31:57 +0000 (+0200) Subject: setting verbosity should not reset the logger name X-Git-Tag: auth-4.6.0-alpha1~5^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38608edd68bedaf0c33c9169ce9e4d2281866e10;p=thirdparty%2Fpdns.git setting verbosity should not reset the logger name --- diff --git a/pdns/recursordist/logging.cc b/pdns/recursordist/logging.cc index ace669f0ed..57ba371f24 100644 --- a/pdns/recursordist/logging.cc +++ b/pdns/recursordist/logging.cc @@ -95,7 +95,7 @@ void Logger::error(const std::string& err, const std::string& msg) const std::shared_ptr Logger::v(size_t level) const { - auto res = std::make_shared(getptr(), boost::none, getVerbosity(), level + _level, _callback); + auto res = std::make_shared(getptr(), _name, getVerbosity(), level + _level, _callback); return res; }