]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
log: fix CI tests
authorLukáš Ježek <lukas.jezek@nic.cz>
Tue, 22 Jun 2021 12:25:42 +0000 (14:25 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:40:50 +0000 (11:40 +0200)
lib/log.c

index a104244192a17baa750f83241b5cfaf3b3f8166a..e3c25f50ef2cf4beedc4ac0f5383ae8fad45959f 100644 (file)
--- a/lib/log.c
+++ b/lib/log.c
@@ -212,9 +212,6 @@ static void kr_vlog_req(
        const unsigned int indent, log_groups_t group, const char *tag, const char *fmt,
        va_list args)
 {
-       if (!(KR_LOG_LEVEL_IS(LOG_DEBUG) || group_is_set(group)))
-               return; // skip alloc and string copy
-
        struct mempool *mp = mp_new(512);
 
        const uint32_t req_uid = req ? req->uid : 0;