From 38608edd68bedaf0c33c9169ce9e4d2281866e10 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 1 Oct 2021 13:31:57 +0200 Subject: [PATCH] setting verbosity should not reset the logger name --- pdns/recursordist/logging.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2