优化日志
This commit is contained in:
parent
3483980ada
commit
7a120c6da4
@ -44,6 +44,8 @@ public class DefaultProperties {
|
||||
// 定义应用程序打算多久审计一次 SIP 堆栈,了解其内部线程的健康状况(该属性指定连续审计之间的时间(以毫秒为单位))
|
||||
properties.setProperty("gov.nist.javax.sip.THREAD_AUDIT_INTERVAL_IN_MILLISECS", "30000");
|
||||
|
||||
// properties.setProperty("gov.nist.javax.sip.MESSAGE_PROCESSOR_FACTORY", "gov.nist.javax.sip.stack.NioMessageProcessorFactory");
|
||||
|
||||
/**
|
||||
* sip_server_log.log 和 sip_debug_log.log ERROR, INFO, WARNING, OFF, DEBUG, TRACE
|
||||
*/
|
||||
|
@ -32,7 +32,7 @@ public class SendRtpPortManager {
|
||||
String key = KEY + userSetting.getServerId() + "_" + mediaServerId;
|
||||
MediaSendRtpPortInfo mediaSendRtpPortInfo = (MediaSendRtpPortInfo)redisTemplate.opsForValue().get(key);
|
||||
if (mediaSendRtpPortInfo == null) {
|
||||
logger.warn("[发送端口管理] 获取{}的发送端口时未找到端口信息", mediaSendRtpPortInfo);
|
||||
logger.warn("[发送端口管理] 获取{}的发送端口时未找到端口信息", mediaServerId);
|
||||
return 0;
|
||||
}
|
||||
int port;
|
||||
|
Loading…
Reference in New Issue
Block a user