]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
cache: remove forgotten log message "writing RRsets"
authorPetr Špaček <petr.spacek@nic.cz>
Wed, 18 Mar 2020 14:38:57 +0000 (15:38 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 25 Mar 2020 13:15:52 +0000 (14:15 +0100)
It did not log through request->trace_log and is not very useful anyway.

lib/cache/peek.c

index 466abdf39daf7a813b8b4da4eff49ac475420777..8d8968c448fb7d6446f901442bf6e4c2817cac5f 100644 (file)
@@ -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;