diff options
author | Lukáš Ježek <lukas.jezek@nic.cz> | 2021-07-02 15:09:29 +0200 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2021-07-29 11:42:30 +0200 |
commit | 599f32246a4e48f95d522d8840473f6138151e7f (patch) | |
tree | d115e0e7a5eef4bae2e9741b300e7d0c32d68f80 /utils | |
parent | log: fix CI tests (diff) | |
download | knot-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.c | 2 | ||||
-rw-r--r-- | utils/cache_gc/kr_cache_gc.c | 2 |
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) { |