[9.20] fix: dev: Fix wrong logging severity in do_nsfetch()

Backport of !10017.

Merge branch '5145-artem-fix-wrong-logging-severity-in-do_nsfetch-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10118
This commit is contained in:
Artem Boldariev 2025-02-18 09:23:05 +00:00
commit fd623c6ecc

View file

@ -21826,7 +21826,7 @@ do_nsfetch(void *arg) {
if (isc_log_wouldlog(dns_lctx, 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);
}