From: Mark Andrews Date: Sun, 11 May 2014 00:59:42 +0000 (+1000) Subject: 3842. [bug] Adjust RRL log-only logging category. [RT #35945] X-Git-Tag: v9.10.1b1~100 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2b9dccddb9395f75f69616dc3dd131eabdf0bf45;p=thirdparty%2Fbind9.git 3842. [bug] Adjust RRL log-only logging category. [RT #35945] (cherry picked from commit 2c172a42b39da5913fc6b2c0d3ce987c206991fa) --- diff --git a/CHANGES b/CHANGES index 210bc4c6c1d..22e2ce54a2f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +3842. [bug] Adjust RRL log-only logging category. [RT #35945] + 3841. [cleanup] Refactor zone.c:add_opt to use dns_message_buildopt. [RT #35924] diff --git a/bin/named/query.c b/bin/named/query.c index 6ad61a4e3ad..01ef5720449 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -6463,8 +6463,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype) * with other truncated responses in RespTruncated. */ if (wouldlog) { - ns_client_log(client, - NS_LOGCATEGORY_QUERY_EERRORS, + ns_client_log(client, DNS_LOGCATEGORY_RRL, NS_LOGMODULE_QUERY, DNS_RRL_LOG_DROP, "%s", log_buf);