]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix wrong logging severity in do_nsfetch()
authorArtem Boldariev <artem@boldariev.com>
Wed, 29 Jan 2025 11:28:27 +0000 (13:28 +0200)
committerArtem Boldariev <artem@boldariev.com>
Tue, 18 Feb 2025 08:28:23 +0000 (10:28 +0200)
ISC_LOG_WARNING was used while ISC_LOG_DEBUG(3) was implied.

lib/dns/zone.c

index db6da6b8c67de9f394238968884dfa4a1627b15f..ac41eb3601b44c736eb74a1b023be4445a02083d 100644 (file)
@@ -21924,7 +21924,7 @@ do_nsfetch(void *arg) {
        if (isc_log_wouldlog(ISC_LOG_DEBUG(3))) {
                char namebuf[DNS_NAME_FORMATSIZE];
                dns_name_format(&nsfetch->pname, namebuf, sizeof(namebuf));
-               dnssec_log(zone, ISC_LOG_WARNING,
+               dnssec_log(zone, ISC_LOG_DEBUG(3),
                           "Create fetch for '%s' NS request", namebuf);
        }