]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't emit spurious global WARNs in rlm_cache
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2024 15:30:40 +0000 (09:30 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2024 15:30:40 +0000 (09:30 -0600)
src/modules/rlm_cache/rlm_cache.c

index 0d97c1c102644de454f3c1d4172751bdc16b5738..bddb466012355efd65b87ad783c546339d8d0943 100644 (file)
@@ -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;
        }