No DB handles is an error, not an informational message.
authorAlan T. DeKok <aland@freeradius.org>
Thu, 10 Feb 2011 15:20:39 +0000 (16:20 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 11 Feb 2011 10:10:28 +0000 (11:10 +0100)
src/modules/rlm_sql/sql.c

index 0163c56..90f3967 100644 (file)
@@ -324,7 +324,7 @@ SQLSOCK * sql_get_socket(SQL_INST * inst)
        last_logged_failure = now;
 
        /* We get here if every DB handle is unconnected and unconnectABLE */
-       radlog(L_INFO, "rlm_sql (%s): There are no DB handles to use! skipped %d, tried to connect %d", inst->config->xlat_name, unconnected, tried_to_connect);
+       radlog(L_ERR, "rlm_sql (%s): There are no DB handles to use! skipped %d, tried to connect %d", inst->config->xlat_name, unconnected, tried_to_connect);
        return NULL;
 }