]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Document structured-logging-backend
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Jun 2022 12:19:31 +0000 (14:19 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Jun 2022 12:19:31 +0000 (14:19 +0200)
pdns/recursordist/docs/settings.rst

index 429f3fc9e8d3bc9cc0791d42837057257b0f5842..529d0b4d82115854bb7a9c7dd26f1fba3b3484ce 100644 (file)
@@ -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``