From 24d02d0986297f059ead0f665f69acde2b6606d5 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 13 Dec 2022 13:02:19 +0000 Subject: [PATCH] List supported DNSSEC algorithms at log level NOTICE NOTICE matches the other startup messages. WARNING weirdly suggests the list is a problem. (cherry picked from commit 72f8d03cad6352958f7f3266c3aa60e1ff6049cf) --- CHANGES | 7 +++++++ bin/named/main.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index d88bc3084f..03ade07e77 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +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] + 6043. [bug] The key file IO locks objects would never get deleted from the hashtable due to off-by-one error. [GL #3727] diff --git a/bin/named/main.c b/bin/named/main.c index 383ef81ece..107151f506 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -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)); }