Merge branch '3707-dont-log-final-reference-detached-on-LOG_INFO-v9_18' into 'v9_18'

Don't log "final reference detached" on INFO level [v9.18]

See merge request isc-projects/bind9!7143
This commit is contained in:
Michał Kępień 2022-11-30 13:27:42 +00:00
commit cd195ba77e
3 changed files with 11 additions and 1 deletions

View file

@ -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]
6027. [bug] Fix assertion failure in isc_http API used by
statschannel if the read callback would be called
on HTTP request that has been already closed.

View file

@ -54,6 +54,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 <name>/<class>: 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
~~~~~~~~~~~~

View file

@ -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->task != NULL) {
/*
* This zone has a task; it can clean