]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't log "final reference detached" on INFO level
authorOndřej Surý <ondrej@isc.org>
Wed, 30 Nov 2022 09:46:40 +0000 (10:46 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 30 Nov 2022 10:04:45 +0000 (11:04 +0100)
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.

lib/dns/zone.c

index fb6380830013ee593c157031ee01867b748dae65..670898e2cfd77960e0e862002a5a5bc58a19dfc7 100644 (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) {
                        /*