提交 4ef999c9 authored 作者: Brian West's avatar Brian West

do not print this debug info unless the profile is in debug mode

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11440 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 33a3bcf5
...@@ -192,7 +192,9 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status, ...@@ -192,7 +192,9 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
} }
if (!sofia_private || !sofia_private->gateway) { if (!sofia_private || !sofia_private->gateway) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Gateway information missing Subscription Event: %s\n", sip->sip_event->o_type); if (profile->debug) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Gateway information missing Subscription Event: %s\n", sip->sip_event->o_type);
}
goto error; goto error;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论