]> git.ipfire.org Git - thirdparty/pdns.git/commit
Add YAML support for multiple logger connections
authorEnsar Sarajčić <dev@ensarsarajcic.com>
Wed, 5 Feb 2025 19:02:26 +0000 (20:02 +0100)
committerEnsar Sarajčić <dev@ensarsarajcic.com>
Wed, 5 Feb 2025 19:02:26 +0000 (20:02 +0100)
commit73491fb272a7984b6e86f83a561eb8c2ce096cdf
tree03c89e2c21a71ef26b10accd055f3fd474ec68f7
parentf36ee29726589ea9d31643a718668c076e0f50a6
Add YAML support for multiple logger connections

This also fixes a bug with loggers in YAML, which had hardcoded
connection status. For `RemoteLogger` that worked by having it always
connect, but for `FrameStreamLogger` it never connected. Now the
behavior is the same as lua, by checking the client mode flag.
pdns/dnsdistdist/dnsdist-configuration-yaml.cc
pdns/dnsdistdist/dnsdist-rust-lib/rust/src/lib.rs
pdns/dnsdistdist/dnsdist-settings-definitions.yml
pdns/dnsdistdist/docs/reference/yaml-settings.rst