From 452b9d1d5d74e2b4d8834a93d83f43e3a4625114 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Wed, 18 Mar 2020 15:38:57 +0100 Subject: [PATCH] cache: remove forgotten log message "writing RRsets" It did not log through request->trace_log and is not very useful anyway. --- lib/cache/peek.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/cache/peek.c b/lib/cache/peek.c index 466abdf39..8d8968c44 100644 --- a/lib/cache/peek.c +++ b/lib/cache/peek.c @@ -293,7 +293,6 @@ int peek_nosync(kr_layer_t *ctx, knot_pkt_t *pkt) knot_wire_set_rcode(pkt->wire, real_rcode); bool expiring = false; // TODO - VERBOSE_MSG(qry, "=> writing RRsets: "); for (int i = 0; i < sizeof(ans.rrsets) / sizeof(ans.rrsets[0]); ++i) { if (i == 1) knot_pkt_begin(pkt, KNOT_AUTHORITY); if (!ans.rrsets[i].set.rr) continue; @@ -303,10 +302,7 @@ int peek_nosync(kr_layer_t *ctx, knot_pkt_t *pkt) assert(false); return ctx->state; } - kr_log_verbose(kr_rank_test(ans.rrsets[i].set.rank, KR_RANK_SECURE) - ? "+" : "-"); } - kr_log_verbose("\n"); /* Finishing touches. */ struct kr_qflags * const qf = &qry->flags; -- 2.47.3