]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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>
Thu, 10 Feb 2011 15:20:39 +0000 (16:20 +0100)
src/modules/rlm_sql/sql.c

index 0163c56d0c21a243c624a8aa5e1b24da0f8671b3..90f3967cd5cc81d9c1aaae94c71a84f40d9cd17a 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;
 }