]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Sofia logger goes to LOG_CONSOLE
authorMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 19:48:15 +0000 (19:48 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 19:48:15 +0000 (19:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12468 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index eebdb1028e4b215cd7a21f5cb7464cbaf12a9138..91a614a3b8628b04c00e9a50dfc1106175ba2ce2 100644 (file)
@@ -928,9 +928,9 @@ void launch_sofia_profile_thread(sofia_profile_t *profile)
 static void logger(void *logarg, char const *fmt, va_list ap)
 {
        if (fmt && ap) {
-               switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_DEBUG, fmt, ap);
+               switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, fmt, ap);
        } else if (fmt && !ap) {
-               switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_DEBUG, "%s", fmt);
+               switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, "%s", fmt);
        }
 }