日志修正
This commit is contained in:
parent
0510f360a2
commit
d73d758c62
@ -25,7 +25,7 @@ public class ServerLoggerImpl implements ServerLogger {
|
||||
if (!showLog) {
|
||||
return;
|
||||
}
|
||||
String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message;
|
||||
String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message;
|
||||
this.stackLogger.logInfo(log);
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ public class ServerLoggerImpl implements ServerLogger {
|
||||
if (!showLog) {
|
||||
return;
|
||||
}
|
||||
String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message;
|
||||
String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message;
|
||||
this.stackLogger.logInfo(log);
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class ServerLoggerImpl implements ServerLogger {
|
||||
if (!showLog) {
|
||||
return;
|
||||
}
|
||||
String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message;
|
||||
String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message;
|
||||
this.stackLogger.logInfo(log);
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,6 @@ import cn.skcks.docking.gb28181.core.sip.message.parser.GbStringMsgParserFactory
|
||||
import cn.skcks.docking.gb28181.core.sip.properties.DefaultProperties;
|
||||
import gov.nist.javax.sip.SipProviderImpl;
|
||||
import gov.nist.javax.sip.SipStackImpl;
|
||||
import gov.nist.javax.sip.stack.MessageProcessorFactory;
|
||||
import lombok.Data;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
Loading…
Reference in New Issue
Block a user