Thu Mar 5 10:20:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: s2_setup_logs() now turns on transport logging, too Ignore-this: 4ad4dc1efaf76c34a46038586a00e084 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12732 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fe71e492c7
commit
70ddbdd6d6
|
@ -1 +1 @@
|
|||
Tue Mar 24 10:29:44 CDT 2009
|
||||
Tue Mar 24 10:30:39 CDT 2009
|
||||
|
|
|
@ -295,6 +295,11 @@ s2_setup_logs(int level)
|
|||
su_log_soft_set_level(nea_log, level);
|
||||
su_log_soft_set_level(nta_log, level);
|
||||
su_log_soft_set_level(tport_log, level);
|
||||
|
||||
if (getenv("TPORT_LOG") == NULL && getenv("S2_TPORT_LOG") == NULL) {
|
||||
if (s2sip)
|
||||
tport_set_params(s2sip->master, TPTAG_LOG(level > 1), TAG_END());
|
||||
}
|
||||
}
|
||||
|
||||
nua_t *s2_nua_setup(char const *label,
|
||||
|
|
Loading…
Reference in New Issue