summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2021-07-27 10:29:22 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2021-07-29 11:43:40 +0200
commit8c6d24dc6790189a27176401aea1967fad1265cc (patch)
treebea95888071c2520bb1f10e334ac45a0386b85b2 /etc
parentlib/log: redesign startup and target selection (diff)
downloadknot-resolver-8c6d24dc6790189a27176401aea1967fad1265cc.tar.xz
knot-resolver-8c6d24dc6790189a27176401aea1967fad1265cc.zip
treewide: avoid using the deprecated verbose()
It's mainly in tests.
Diffstat (limited to 'etc')
-rw-r--r--etc/config/config.docker4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/config/config.docker b/etc/config/config.docker
index 4805ae32..bfededb5 100644
--- a/etc/config/config.docker
+++ b/etc/config/config.docker
@@ -36,7 +36,7 @@ function interactive_mode()
.. '8453 -> web interface\n'
.. '\n'
.. 'For verbose logging enter following command to prompt below:\n'
- .. 'verbose(true)\n')
+ .. 'set_log_level("debug")\n')
end
print_help()
end
@@ -62,7 +62,7 @@ function debug_mode(qname, qtype)
-- execute query right after start up and exit when the query is finished
event.after(0, function()
-- ultra verbose log
- verbose(true)
+ set_log_level('debug')
policy.add(policy.all(policy.DEBUG_ALWAYS))
log_debug(ffi.C.LOG_GRP_RESOLVER, 'starting DNS query for %s %s', qname, kres.tostring.type[qtype])
local starttime = cqueues.monotime()