]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Changed loglevel wording to be more accurate for both recursor and authoritative. 11614/head
authorPeeyush Singh <xorander00@users.noreply.github.com>
Mon, 9 May 2022 10:32:34 +0000 (06:32 -0400)
committerPeeyush Singh <xorander00@users.noreply.github.com>
Mon, 9 May 2022 10:32:34 +0000 (06:32 -0400)
docs/settings.rst
pdns/recursordist/docs/settings.rst

index 6616a91ac23c08e3a415d624cf08de78df563449..f3cf30f0742c15a5117241dfae169e8c2659e1c5 100644 (file)
@@ -917,8 +917,10 @@ Do not pass names like 'local0'!
 -  Integer
 -  Default: 4
 
-Amount of logging. Higher is more. Do not set below 3. Corresponds to "syslog" level values,
-e.g. error = 3, warning = 4, notice = 5, info = 6
+Amount of logging. The higher the number, the more lines logged.
+Corresponds to "syslog" level values (e.g. 0 = emergency, 1 = alert, 2 = critical, 3 = error, 4 = warning, 5 = notice, 6 = info, 7 = debug).
+Each level includes itself plus the lower levels before it.
+Not recommended to set this below 3.
 
 .. _setting-lua-axfr-script:
 
index e822c07d0f5d27605dd61a4b45c3c74fd23256fd..dc2cf46eacde05260f5108e0c65a063d990347ad 100644 (file)
@@ -992,9 +992,10 @@ This feature is intended to facilitate ip-failover setups, but it may also mask
 -  Integer between 0 and 9
 -  Default: 6
 
-Amount of logging.
-Higher is more, more logging may destroy performance.
-It is recommended not to set this below 3.
+Amount of logging. The higher the number, the more lines logged.
+Corresponds to "syslog" level values (e.g. 0 = emergency, 1 = alert, 2 = critical, 3 = error, 4 = warning, 5 = notice, 6 = info, 7 = debug).
+Each level includes itself plus the lower levels before it.
+Not recommended to set this below 3.
 
 .. _setting-log-common-errors: