summaryrefslogtreecommitdiffstats
path: root/lib/cache
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 /lib/cache
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 'lib/cache')
-rw-r--r--lib/cache/overflow.test.integr/kresd_config.j22
-rw-r--r--lib/cache/test.integr/kresd_config.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/overflow.test.integr/kresd_config.j2 b/lib/cache/overflow.test.integr/kresd_config.j2
index 87dbd69a..6279bb56 100644
--- a/lib/cache/overflow.test.integr/kresd_config.j2
+++ b/lib/cache/overflow.test.integr/kresd_config.j2
@@ -29,7 +29,7 @@ if detect_time_skew then
modules.unload('detect_time_skew')
end
-verbose(true)
+set_log_level('debug')
policy.add(policy.all(policy.DEBUG_ALWAYS))
cache.open(1*MB)
diff --git a/lib/cache/test.integr/kresd_config.j2 b/lib/cache/test.integr/kresd_config.j2
index 7c3724bd..b1ae409e 100644
--- a/lib/cache/test.integr/kresd_config.j2
+++ b/lib/cache/test.integr/kresd_config.j2
@@ -26,7 +26,7 @@ end
_hint_root_file('hints')
cache.size = 2*MB
-verbose(true)
+set_log_level('debug')
policy.add(policy.all(policy.DEBUG_ALWAYS))
{% endraw %}