diff options
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) { |