]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update log level
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 15 Dec 2009 01:31:17 +0000 (01:31 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 15 Dec 2009 01:31:17 +0000 (01:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15963 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_sqldb.c

index 011467f8bc9c4fece74c4faac689044377d55156..3c53455f101949f41bb646409306cae265db8689 100644 (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: