From ce48d0510283037886128d14a91776026a38aaf5 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 20 Jun 2022 14:19:31 +0200 Subject: [PATCH] Document structured-logging-backend --- pdns/recursordist/docs/settings.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index 429f3fc9e8..529d0b4d82 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -2016,6 +2016,22 @@ A list of comma-separated statistic names, that are prevented from being exporte Prefer structured logging when both an old style and a structured log messages is available. +.. _setting-structured-logging-backend: + +``structured-logging-backend`` +------------------------------ +.. versionadded:: 4.8.0 + +- String +- Default: "default" + +The backend used for structured logging output. +Available backends are: + +- ``default``: use the traditional logging system to output structured logging information. +- ``systemd-journal``: use systemd-journal. + When using this backend, provide ``-o verbose`` or simular output option to ``journalctl`` to view the full information. + .. _setting-tcp-fast-open: ``tcp-fast-open`` -- 2.47.3