]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: In the dtor we want to use the base class version
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 5 Jan 2026 13:22:23 +0000 (14:22 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 19 Jan 2026 10:01:30 +0000 (11:01 +0100)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-tcp-downstream.cc

index ff8ad77fa2aebb5b2352789f756c32d0b1956129..18fd9bb59d91d819fbe647ac67490e8c388edbf4 100644 (file)
@@ -27,7 +27,7 @@ ConnectionToBackend::~ConnectionToBackend()
       }
       catch (const std::exception& e) {
         VERBOSESLOG(infolog("Unable to get a TLS session: %s", e.what()),
-                    getLogger()->error(Logr::Info, e.what(), "Unable to get a TLS session"));
+                    ConnectionToBackend::getLogger()->error(Logr::Info, e.what(), "Unable to get a TLS session"));
       }
     }
     auto diff = now - d_connectionStartTime;