From 1c17da93ef78d5db20ef7b60e6e0bb3bb4b70fc1 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Sat, 19 Jun 2010 19:06:27 -0500 Subject: [PATCH] rationalize some logging --- src/mod/applications/mod_dptools/mod_dptools.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 70b58f508c..cfb8933102 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -3131,11 +3131,10 @@ SWITCH_STANDARD_APP(limit_execute_function) } if (switch_limit_incr(backend, session, realm, id, max, interval) == SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Executing\n"); switch_core_session_execute_application(session, app, app_arg); /* Only release the resource if we are still in CS_EXECUTE */ if (switch_channel_get_state(switch_core_session_get_channel(session)) == CS_EXECUTE) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "immediately releasing\n"); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_IFNO, "immediately releasing\n"); switch_limit_release(backend, session, realm, id); } }