2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Don't log "final reference detached" on INFO level

The "final reference detached" message was meant to be DEBUG(1), but was
instead kept at INFO level.  Move it to the DEBUG(1) logging level, so
it's not printed under normal operations.
This commit is contained in:
Ondřej Surý
2022-11-30 10:46:40 +01:00
parent a9cbf84e0f
commit 1816244725

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->loop != NULL) {
/*