]> git.ipfire.org Git - thirdparty/pdns.git/commit
Implement a common interface to get stats for both RemoteLogger and FrameStreamLogger
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 29 Aug 2022 10:23:18 +0000 (12:23 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 28 Sep 2022 09:22:41 +0000 (11:22 +0200)
commit2b7a8236247e496d82326e2114b4ad4316267894
treeb0815a0697e70e97365e27b13a2cf335a242807c
parentb8f9cb627c36cfee2458a63ec4a979f87bc36c3d
Implement a common interface to get stats for both RemoteLogger and FrameStreamLogger

These two classes do not use the same mechanism to protect the stats from mult-threaded
access. Should maybe be revisited. Recursor has an instance per pthread, don't know
about dnsdist.
pdns/fstrm_logger.cc
pdns/fstrm_logger.hh
pdns/remote_logger.cc
pdns/remote_logger.hh