mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
mod_sofia: Move siptrace to loglevel INFO
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13615 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e11a32fe80
commit
5a149bfcb4
@ -1003,9 +1003,9 @@ void launch_sofia_profile_thread(sofia_profile_t *profile)
|
|||||||
static void logger(void *logarg, char const *fmt, va_list ap)
|
static void logger(void *logarg, char const *fmt, va_list ap)
|
||||||
{
|
{
|
||||||
if (fmt && ap) {
|
if (fmt && ap) {
|
||||||
switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, fmt, ap);
|
switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO, fmt, ap);
|
||||||
} else if (fmt && !ap) {
|
} else if (fmt && !ap) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, "%s", fmt);
|
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO, "%s", fmt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user