change debug level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16450 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0fc54805a9
commit
4655650329
|
@ -116,7 +116,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_disconnect(switch_odbc_h
|
||||||
if (handle->state == SWITCH_ODBC_STATE_CONNECTED) {
|
if (handle->state == SWITCH_ODBC_STATE_CONNECTED) {
|
||||||
result = SQLDisconnect(handle->con);
|
result = SQLDisconnect(handle->con);
|
||||||
if (result == SWITCH_ODBC_SUCCESS) {
|
if (result == SWITCH_ODBC_SUCCESS) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Disconnected %d from [%s]\n", result, handle->dsn);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Disconnected %d from [%s]\n", result, handle->dsn);
|
||||||
} else {
|
} else {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Disconnecting [%s]\n", handle->dsn);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Disconnecting [%s]\n", handle->dsn);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue