diff --git a/CHANGES b/CHANGES index ba8e74fd74..efa050b83e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +6031. [bug] Move the "final reference detached" log message + from dns_zone unit to the DEBUG(1) log level. + [GL #3707] + 6030. [bug] Refactor the ADB to use a global LRU queue, store the ADB names and ADB entries directly in the hash tables instead of buckets, and properly clean the diff --git a/doc/notes/notes-current.rst b/doc/notes/notes-current.rst index 0397ae0329..a036aa9477 100644 --- a/doc/notes/notes-current.rst +++ b/doc/notes/notes-current.rst @@ -59,6 +59,11 @@ Bug Fixes - Fix an assertion failure in the statschannel caused by reading from the HTTP connection closed prematurely (connection error, shutdown). :gl:`#3693` +- The ``zone /: final reference detached`` log message was + moved from the INFO log level to the DEBUG(1) log level to prevent the + :iscman:`named-checkzone` tool from superfluously logging this message + in non-debug mode. :gl:`#3707` + Known Issues ~~~~~~~~~~~~ diff --git a/lib/dns/zone.c b/lib/dns/zone.c index fb63808300..670898e2cf 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -5813,7 +5813,8 @@ dns_zone_detach(dns_zone_t **zonep) { * Stop things being restarted after we cancel them below. */ DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_EXITING); - dns_zone_log(zone, ISC_LOG_INFO, "final reference detached"); + dns_zone_log(zone, ISC_LOG_DEBUG(1), + "final reference detached"); if (zone->loop != NULL) { /*