From: Otto Moerbeek Date: Mon, 20 Jun 2022 12:19:31 +0000 (+0200) Subject: Document structured-logging-backend X-Git-Tag: auth-4.8.0-alpha0~51^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce48d0510283037886128d14a91776026a38aaf5;p=thirdparty%2Fpdns.git Document structured-logging-backend --- 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``