From: Arran Cudbard-Bell Date: Thu, 4 Jul 2024 15:30:40 +0000 (-0600) Subject: Don't emit spurious global WARNs in rlm_cache X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8171e09da9e1ec1f0de0d3bf567dd498f4368f23;p=thirdparty%2Ffreeradius-server.git Don't emit spurious global WARNs in rlm_cache --- diff --git a/src/modules/rlm_cache/rlm_cache.c b/src/modules/rlm_cache/rlm_cache.c index 0d97c1c1026..bddb4660123 100644 --- a/src/modules/rlm_cache/rlm_cache.c +++ b/src/modules/rlm_cache/rlm_cache.c @@ -1101,7 +1101,7 @@ static unlang_action_t CC_HINT(nonnull) mod_method_load(rlm_rcode_t *p_result, m if (rcode == RLM_MODULE_FAIL) goto finish; if (!entry) { - WARN("Entry not found to load"); + RDEBUG2("Entry not found to load"); rcode = RLM_MODULE_NOTFOUND; goto finish; } @@ -1300,7 +1300,7 @@ static unlang_action_t CC_HINT(nonnull) mod_method_clear(rlm_rcode_t *p_result, if (rcode == RLM_MODULE_FAIL) goto finish; if (!entry) { - WARN("Entry not found to delete"); + REDEBUG2("Entry not found to delete"); rcode = RLM_MODULE_NOTFOUND; goto finish; }