Merge branch 'fanf-dnssec-algorithm-loglevel' into 'main'

List supported DNSSEC algorithms at log level NOTICE

See merge request isc-projects/bind9!7217
This commit is contained in:
Tony Finch
2022-12-14 11:02:15 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
6045. [cleanup] The list of supported DNSSEC algorithms changed log
level from "warning" to "notice" to match named's other
startup messages. [GL !7217]
6044. [bug] There was an "RSASHA236" typo in a log message.
[GL !7206]

View File

@@ -511,7 +511,7 @@ list_hmac_algorithms(isc_buffer_t *b) {
static void
logit(isc_buffer_t *b) {
isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
NAMED_LOGMODULE_MAIN, ISC_LOG_WARNING, "%.*s",
NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE, "%.*s",
(int)isc_buffer_usedlength(b),
(char *)isc_buffer_base(b));
}