use more generic log module name for 'logtoomanyrecords'
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.
This commit is contained in:
committed by
Mark Andrews
parent
4156995431
commit
b0309ee631
@@ -1197,7 +1197,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_LOGCATEGORY_DATABASE, DNS_LOGMODULE_RBTDB, ISC_LOG_ERROR,
|
||||
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,
|
||||
(db->attributes & DNS_DBATTR_CACHE) != 0 ? "cache" : "zone",
|
||||
|
||||
Reference in New Issue
Block a user