From: Nick Porter Date: Fri, 19 Jan 2024 17:47:40 +0000 (+0000) Subject: More appropriate debug messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5eb8cd5770dd6540ca755a101133ec7f9f4514;p=thirdparty%2Ffreeradius-server.git More appropriate debug messages --- diff --git a/src/modules/rlm_sqlippool/rlm_sqlippool.c b/src/modules/rlm_sqlippool/rlm_sqlippool.c index 037d4af388b..18e09020c63 100644 --- a/src/modules/rlm_sqlippool/rlm_sqlippool.c +++ b/src/modules/rlm_sqlippool/rlm_sqlippool.c @@ -252,7 +252,7 @@ static int CC_HINT(nonnull (1, 3, 4, 5)) sqlippool_query1(char *out, int outlen, } if (!row) { - REDEBUG("SQL query did not return any results"); + RDEBUG2("SQL query did not return any results"); goto finish; } @@ -263,7 +263,7 @@ static int CC_HINT(nonnull (1, 3, 4, 5)) sqlippool_query1(char *out, int outlen, rlen = strlen(row[0]); if (rlen >= outlen) { - RDEBUG2("insufficient string space"); + REDEBUG("The first column of the result was too long (%d)", rlen); goto finish; }