summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorLukáš Ježek <lukas.jezek@nic.cz>2021-07-02 15:09:29 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2021-07-29 11:42:30 +0200
commit599f32246a4e48f95d522d8840473f6138151e7f (patch)
treed115e0e7a5eef4bae2e9741b300e7d0c32d68f80 /utils
parentlog: fix CI tests (diff)
downloadknot-resolver-599f32246a4e48f95d522d8840473f6138151e7f.tar.xz
knot-resolver-599f32246a4e48f95d522d8840473f6138151e7f.zip
log: use kr_log_debug instead kr_log_verbose
Diffstat (limited to 'utils')
-rw-r--r--utils/cache_gc/db.c2
-rw-r--r--utils/cache_gc/kr_cache_gc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/cache_gc/db.c b/utils/cache_gc/db.c
index 3b4a75be..923da87a 100644
--- a/utils/cache_gc/db.c
+++ b/utils/cache_gc/db.c
@@ -274,7 +274,7 @@ int kr_gc_cache_iter(knot_db_t * knot_db, const kr_cache_gc_cfg_t *cfg,
api->txn_abort(&txn);
- kr_log_verbose("DEBUG: iterated %u items, gc consistent %u, kr consistent %u\n",
+ kr_log_debug(CACHE, "iterated %u items, gc consistent %u, kr consistent %u\n",
counter_iter, counter_gc_consistent, counter_kr_consistent);
return KNOT_EOK;
}
diff --git a/utils/cache_gc/kr_cache_gc.c b/utils/cache_gc/kr_cache_gc.c
index 758a6e9a..d89352e8 100644
--- a/utils/cache_gc/kr_cache_gc.c
+++ b/utils/cache_gc/kr_cache_gc.c
@@ -229,7 +229,7 @@ int kr_cache_gc(kr_cache_gc_cfg_t *cfg, kr_cache_gc_state_t **state)
/* use less precise variant to avoid 32-bit overflow */
ssize_t amount_tofree = cats_sumsize / 100 * cfg->cache_to_be_freed;
- kr_log_verbose("tofree: %zd / %zd\n", amount_tofree, cats_sumsize);
+ kr_log_debug(CACHE, "tofree: %zd / %zd\n", amount_tofree, cats_sumsize);
if (VERBOSE_STATUS) {
for (int i = 0; i < CATEGORIES; i++) {
if (cats.categories_sizes[i] > 0) {