]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
policy.DEBUG_*: tweak verbosity sendmmsg-logs-bis 1144/head
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 26 Feb 2021 16:44:46 +0000 (17:44 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 5 Mar 2021 11:07:30 +0000 (12:07 +0100)
commit81db7d9ec0964652dfae49e8778da4f62715e9b6
tree0db0c29e8d8f2dacdca1759a84e02c24ef782b64
parent605a4cdc080eb215e3d31c927711ec1abe51b480
policy.DEBUG_*: tweak verbosity

One issue I saw in verbose(true) mode is that using DEBUG_IF with
a false condition would turn off verbosity for those requests,
and that seemed surprising.
Also, if we know in advance that we want to print the verbose lines,
let them be printed directly instead of using the complex mechanism.
daemon/lua/kres.lua
modules/policy/README.rst
modules/policy/policy.lua