From: Nick Porter Date: Fri, 19 Jan 2024 18:23:21 +0000 (+0000) Subject: More helpful debug messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ad2ec0646dd6c01d0eb37c6b4e80124d0fa30e;p=thirdparty%2Ffreeradius-server.git More helpful debug messages --- diff --git a/src/modules/rlm_sqlippool/rlm_sqlippool.c b/src/modules/rlm_sqlippool/rlm_sqlippool.c index f9f2b427964..7a15410df5d 100644 --- a/src/modules/rlm_sqlippool/rlm_sqlippool.c +++ b/src/modules/rlm_sqlippool/rlm_sqlippool.c @@ -372,7 +372,7 @@ static unlang_action_t CC_HINT(nonnull) mod_alloc(rlm_rcode_t *p_result, module_ * that case, we should return * NOTFOUND */ - RDEBUG2("pool appears to be full"); + RWDEBUG("Pool \"%pV\" appears to be full", &env->pool_name); RETURN_MODULE_NOTFOUND; } @@ -382,7 +382,8 @@ static unlang_action_t CC_HINT(nonnull) mod_alloc(rlm_rcode_t *p_result, module_ * sqlippool, so we should just ignore this * allocation failure and return NOOP */ - RDEBUG2("IP address could not be allocated as no pool exists with that name"); + RWDEBUG("IP address could not be allocated as no pool exists with the name \"%pV\"", + &env->pool_name); RETURN_MODULE_NOOP; }