]> 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:51:29 +0000 (11:51 +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.

(cherry picked from commit 1816244725c8e41aaa72b7f7f14bf1a1cde61b14)

lib/dns/zone.c

index 882378d66d9ed68fd001b02612882678b75a6478..62c102b374fedfe2642119ad820b200a6d012c2f 100644 (file)
@@ -5752,7 +5752,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