mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 17:41:50 -04:00
Merge branch 'aram/fetches-per-zone-improve-log-message' into 'main'
Differentiate between initial and cumulative fetch limit logging See merge request isc-projects/bind9!6607
This commit is contained in:
commit
b2395f5644
1 changed files with 5 additions and 2 deletions
|
|
@ -1591,8 +1591,11 @@ fcount_logspill(fetchctx_t *fctx, fctxcount_t *counter, bool final) {
|
|||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_SPILL,
|
||||
DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
|
||||
"too many simultaneous fetches for %s "
|
||||
"(allowed %d spilled %d)",
|
||||
dbuf, counter->allowed, counter->dropped);
|
||||
"(allowed %d spilled %d; %s)",
|
||||
dbuf, counter->allowed, counter->dropped,
|
||||
counter->dropped == 1 ? "initial trigger event"
|
||||
: "cumulative since "
|
||||
"initial trigger event");
|
||||
} else {
|
||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_SPILL,
|
||||
DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
|
||||
|
|
|
|||
Loading…
Reference in a new issue