Merge branch '2683-ixfr-logging-v9_18' into 'v9_18'

log the reason for falling back to AXFR from IXFR at level info

See merge request isc-projects/bind9!6551
This commit is contained in:
Evan Hunt 2022-07-12 23:52:38 +00:00
commit 7994f1368c
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
5924. [func] When it's necessary to use AXFR to respond to an
IXFR request, a message explaining the reason
is now logged at level info. [GL #2683]
5923. [bug] Fix inheritance for dnssec-policy when checking for
inline-signing. [GL #3438]

View file

@ -1029,7 +1029,7 @@ got_soa:
}
if (result == ISC_R_NOTFOUND || result == ISC_R_RANGE) {
xfrout_log1(client, question_name, question_class,
ISC_LOG_DEBUG(4),
ISC_LOG_INFO,
"IXFR version not in journal, "
"falling back to AXFR");
mnemonic = "AXFR-style IXFR";
@ -1044,7 +1044,7 @@ got_soa:
data_stream->methods->destroy(&data_stream);
data_stream = NULL;
xfrout_log1(client, question_name,
question_class, ISC_LOG_DEBUG(4),
question_class, ISC_LOG_INFO,
"IXFR delta size (%zu bytes) "
"exceeds the maximum ratio to "
"database size "