From: Alan T. DeKok Date: Thu, 10 Feb 2011 15:20:39 +0000 (+0100) Subject: No DB handles is an error, not an informational message. X-Git-Tag: release_2_1_11~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e4a4c9f0617ea42e67ea623434f934fab79924;p=thirdparty%2Ffreeradius-server.git No DB handles is an error, not an informational message. --- diff --git a/src/modules/rlm_sql/sql.c b/src/modules/rlm_sql/sql.c index 0163c56d0c2..90f3967cd5c 100644 --- a/src/modules/rlm_sql/sql.c +++ b/src/modules/rlm_sql/sql.c @@ -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; }