From d0245f76a06c188947883bed914a114299d27ce6 Mon Sep 17 00:00:00 2001 From: Ruben d'Arco Date: Wed, 22 Apr 2020 21:09:52 +0100 Subject: [PATCH] Add notes on logging ability in dnsdist --- pdns/dnsdistdist/docs/reference/index.rst | 1 + pdns/dnsdistdist/docs/reference/logging.rst | 24 +++++++++++++++++++++ 2 files changed, 25 insertions(+) mode change 100644 => 100755 pdns/dnsdistdist/docs/reference/index.rst create mode 100755 pdns/dnsdistdist/docs/reference/logging.rst diff --git a/pdns/dnsdistdist/docs/reference/index.rst b/pdns/dnsdistdist/docs/reference/index.rst old mode 100644 new mode 100755 index 08c64c2db5..0f462f94ec --- a/pdns/dnsdistdist/docs/reference/index.rst +++ b/pdns/dnsdistdist/docs/reference/index.rst @@ -22,3 +22,4 @@ These chapters contain extensive information on all functions and object availab snmp tuning kvs + logging diff --git a/pdns/dnsdistdist/docs/reference/logging.rst b/pdns/dnsdistdist/docs/reference/logging.rst new file mode 100755 index 0000000000..f6751d977c --- /dev/null +++ b/pdns/dnsdistdist/docs/reference/logging.rst @@ -0,0 +1,24 @@ +Logging +======= + +There are some functions to create log output. + +.. function:: errlog(line) + + Writes a error line. + + :param str line: The line to write. + + +.. function:: warnlog(line) + + Writes a warning line. + + :param str line: The line to write. + + +.. function:: infolog(line) + + Writes an info line. + + :param str line: The line to write. -- 2.47.2