FS-11037: [mod_lua] reduce logging levels
This commit is contained in:
parent
422f348240
commit
4876cb76a7
|
@ -369,7 +369,7 @@ Dbh::Dbh(char *dsn, char *user, char *pass)
|
|||
}
|
||||
|
||||
if (!zstr(dsn) && switch_cache_db_get_db_handle_dsn(&dbh, dsn) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DBH handle %p Connected.\n", (void *) dbh);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "DBH handle %p Connected.\n", (void *) dbh);
|
||||
} else {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Connection failed. DBH NOT Connected.\n");
|
||||
}
|
||||
|
@ -398,7 +398,7 @@ char *Dbh::last_error()
|
|||
bool Dbh::release()
|
||||
{
|
||||
if (dbh) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DBH handle %p released.\n", (void *) dbh);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "DBH handle %p released.\n", (void *) dbh);
|
||||
switch_cache_db_release_db_handle(&dbh);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -459,7 +459,7 @@ static void lua_event_handler(switch_event_t *event)
|
|||
}
|
||||
|
||||
mod_lua_conjure_event(L, event, "event", 1);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "lua event hook: execute '%s'\n", (char *)script);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "lua event hook: execute '%s'\n", (char *)script);
|
||||
lua_parse_and_execute(L, (char *)script, NULL);
|
||||
lua_uninit(L);
|
||||
|
||||
|
|
Loading…
Reference in New Issue