From 174cd00290bc5b91006f036a2b4e3119e96ed720 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Wed, 16 May 2018 20:20:05 +0100 Subject: [PATCH 1/2] Fix request-nsid log level to match documentation. Since change 3741 (commit 1d761cb4) they have been logged at debug(3) by mistake. --- lib/dns/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index f9fddc962f..390fbc79a2 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -7618,7 +7618,7 @@ rctx_opt(respctx_t *rctx) { DNS_FETCHOPT_WANTNSID) != 0) { log_nsid(&optbuf, optlen, query, - ISC_LOG_DEBUG(3), + ISC_LOG_INFO, fctx->res->mctx); } isc_buffer_forward(&optbuf, optlen); From adbdedda7ac23371199bd7d6d8a403f40bdd712b Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Wed, 16 May 2018 20:24:24 +0100 Subject: [PATCH 2/2] Add CHANGES entry. 4948. [bug] When request-nsid is turned on, EDNS NSID options should be logged at level info. Since change 3741 they have been logged at debug(3) by mistake. [GL !290] --- CHANGES | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 8464ed8a2e..57291df5f9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +4948. [bug] When request-nsid is turned on, EDNS NSID options + should be logged at level info. Since change 3741 + they have been logged at debug(3) by mistake. + [GL !290] + 4947. [func] Replace all random functions with isc_random(), isc_random_buf() and isc_random_uniform() API. [GL #221]