]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
"Executing query" is not an error message
authorAlan T. DeKok <aland@freeradius.org>
Fri, 10 Aug 2012 10:34:51 +0000 (12:34 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 11 Aug 2012 07:24:39 +0000 (09:24 +0200)
It's a debug message

src/modules/rlm_sql/sql.c

index b45aa9f0fbd1ca45640ca35960bd5a5196e1b3a0..d6d46f3c2e74717308d3a97ab1218c3fc2c8d768 100644 (file)
@@ -296,9 +296,8 @@ int rlm_sql_query(SQLSOCK **sqlsocket, SQL_INST *inst, char *query)
        }
        
        while (1) {
-               radlog(L_ERR, "rlm_sql (%s): Executing query",
-                          inst->config->xlat_name);
-                          
+               DEBUG("Executing query %s", query);
+
                ret = (inst->module->sql_query)(*sqlsocket, inst->config, query);
                /*
                 * Run through all available sockets until we exhaust all existing
@@ -347,9 +346,8 @@ int rlm_sql_select_query(SQLSOCK **sqlsocket, SQL_INST *inst, char *query)
        }
        
        while (1) {
-               radlog(L_ERR, "rlm_sql (%s): Executing query",
-                          inst->config->xlat_name);
-                          
+               DEBUG("Executing query %s", query);
+
                ret = (inst->module->sql_select_query)(*sqlsocket, inst->config, query);
                /*
                 * Run through all available sockets until we exhaust all existing