]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use more generic log module name for 'logtoomanyrecords'
authorJINMEI Tatuya <jtatuya@infoblox.com>
Wed, 18 Sep 2024 06:32:21 +0000 (15:32 +0900)
committerMark Andrews <marka@isc.org>
Wed, 27 Nov 2024 01:34:11 +0000 (12:34 +1100)
DNS_LOGMODULE_RBTDB was simply inappropriate, and this
log message is actually dependent on db implementation
details, so DNS_LOGMODULE_DB would be the best choice.

(cherry picked from commit b0309ee631dc68c6462500354acc749ff41ccb55)

lib/dns/db.c

index f004cf241a026c10c4569f549eeec4b23bef8395..358ec710d809e64140676c9ab136d6b4e14faa7f 100644 (file)
@@ -1156,7 +1156,7 @@ dns__db_logtoomanyrecords(dns_db_t *db, const dns_name_t *name,
        dns_rdataclass_format(db->rdclass, clsbuf, sizeof(clsbuf));
 
        isc_log_write(
-               dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_RBTDB,
+               dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DB,
                ISC_LOG_ERROR,
                "error %s '%s/%s' in '%s/%s' (%s): %s (must not exceed %u)", op,
                namebuf, typebuf, originbuf, clsbuf,