From: Peeyush Singh Date: Mon, 9 May 2022 10:32:34 +0000 (-0400) Subject: Changed loglevel wording to be more accurate for both recursor and authoritative. X-Git-Tag: auth-4.8.0-alpha0~104^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b0cb40fb837705c916c00dccf42d383638866f1;p=thirdparty%2Fpdns.git Changed loglevel wording to be more accurate for both recursor and authoritative. --- diff --git a/docs/settings.rst b/docs/settings.rst index 6616a91ac2..f3cf30f074 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -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: diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index e822c07d0f..dc2cf46eac 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -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: