wouldlog, log_buf, sizeof(log_buf));
if (rrl_result != DNS_RRL_RESULT_OK) {
/*
- * Log dropped errors in the query category
+ * Log dropped errors in the query-errors category
* so that they are not lost in silence.
* Starts of rate-limited bursts are logged in
- * NS_LOGCATEGORY_RRL.
+ * DNS_LOGCATEGORY_RRL.
*/
if (wouldlog) {
ns_client_log(client,
sizeof(log_buf));
if (rrl_result != DNS_RRL_RESULT_OK) {
/*
- * Log dropped or slipped responses in the query
+ * Log dropped or slipped responses in the query-errors
* category so that requests are not silently lost.
* Starts of rate-limited bursts are logged in
* DNS_LOGCATEGORY_RRL.
* with other truncated responses in RespTruncated.
*/
if (wouldlog) {
- ns_client_log(qctx->client, DNS_LOGCATEGORY_RRL,
+ ns_client_log(qctx->client,
+ NS_LOGCATEGORY_QUERY_ERRORS,
NS_LOGMODULE_QUERY,
DNS_RRL_LOG_DROP, "%s", log_buf);
}