mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
raise the log level of priming failures
when a priming query is complete, it's currently logged at level ISC_LOG_DEBUG(1), regardless of success or failure. we are now raising it to ISC_LOG_NOTICE in the case of failure.
This commit is contained in:
parent
5fafb0e7f7
commit
a84d54c6ff
@ -10063,8 +10063,10 @@ prime_done(void *arg) {
|
|||||||
|
|
||||||
REQUIRE(VALID_RESOLVER(res));
|
REQUIRE(VALID_RESOLVER(res));
|
||||||
|
|
||||||
|
int level = (resp->result == ISC_R_SUCCESS) ? ISC_LOG_DEBUG(1)
|
||||||
|
: ISC_LOG_NOTICE;
|
||||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_RESOLVER,
|
isc_log_write(dns_lctx, DNS_LOGCATEGORY_RESOLVER,
|
||||||
DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
|
DNS_LOGMODULE_RESOLVER, level,
|
||||||
"resolver priming query complete: %s",
|
"resolver priming query complete: %s",
|
||||||
isc_result_totext(resp->result));
|
isc_result_totext(resp->result));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user