]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More appropriate debug messages
authorNick Porter <nick@portercomputing.co.uk>
Fri, 19 Jan 2024 17:47:40 +0000 (17:47 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 26 Jan 2024 13:53:18 +0000 (13:53 +0000)
src/modules/rlm_sqlippool/rlm_sqlippool.c

index 037d4af388bb4afaf08895923da5d4510ac0d422..18e09020c636a1b52bfcb978fefc186dd65cbb76 100644 (file)
@@ -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;
        }