From: Mark Andrews Date: Thu, 17 Nov 2022 06:33:15 +0000 (+1100) Subject: Fix log messages incorrectly logged at error X-Git-Tag: v9.19.8~45^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b95d089751455e05143281a20456b8296f818bb1;p=thirdparty%2Fbind9.git Fix log messages incorrectly logged at error The log message "got TLS configuration for zone transfer" is not an error, setting to info. --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index f8a7ab46330..04187e366e2 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -13081,7 +13081,7 @@ zone_notify(dns_zone_t *zone, isc_time_t *now) { tlsname, &transport); dns_zone_logc( - zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR, + zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO, "got TLS configuration for zone transfer"); } @@ -18248,7 +18248,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) { result = dns_view_gettransport(view, DNS_TRANSPORT_TLS, tlsname, &zone->transport); - dns_zone_logc(zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR, + dns_zone_logc(zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO, "got TLS configuration for zone transfer: %s", isc_result_totext(result)); } @@ -21384,7 +21384,7 @@ checkds_send(dns_zone_t *zone) { (void)dns_view_gettransport(view, DNS_TRANSPORT_TLS, tlsname, &transport); dns_zone_logc( - zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR, + zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO, "got TLS configuration for zone transfer"); }