3842. [bug] Adjust RRL log-only logging category. [RT #35945]

This commit is contained in:
Mark Andrews
2014-05-11 10:59:42 +10:00
parent e188b84bc4
commit 2c172a42b3
2 changed files with 3 additions and 2 deletions

View File

@@ -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]

View File

@@ -6481,8 +6481,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);