update log level

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15963 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-12-15 01:31:17 +00:00
parent 3963930e26
commit 1ebe0f84f8

View File

@ -108,7 +108,7 @@ static void sql_close(time_t prune)
}
if (switch_mutex_trylock(dbh->mutex) == SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Dropping idle DB connection %s\n", key);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Dropping idle DB connection %s\n", key);
switch (dbh->type) {
case SCDB_TYPE_ODBC:
@ -157,7 +157,7 @@ SWITCH_DECLARE(void) switch_cache_db_destroy_db_handle(switch_cache_db_handle_t
{
if (dbh && *dbh) {
switch_mutex_lock(sql_manager.dbh_mutex);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Deleting DB connection %s\n", (*dbh)->name);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Deleting DB connection %s\n", (*dbh)->name);
switch ((*dbh)->type) {
case SCDB_TYPE_ODBC: