648540858
2023-04-23 269ad8cedbb07ca207a6f33af23085894dab4aa6
src/main/java/com/genersoft/iot/vmp/gb28181/conf/ServerLoggerImpl.java
@@ -27,7 +27,7 @@
            return;
        }
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(!sender? "发送:目标--->" + from:"接收:来自--->" + to)
        stringBuilder.append(sender? "发送:目标--->" + from:"接收:来自--->" + to)
                .append("\r\n")
                        .append(message);
        this.stackLogger.logInfo(stringBuilder.toString());
@@ -40,7 +40,7 @@
            return;
        }
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(!sender? "发送: 目标->" + from :"接收:来自->" + to)
        stringBuilder.append(sender? "发送: 目标->" + from :"接收:来自->" + to)
                .append("\r\n")
                .append(message);
        this.stackLogger.logInfo(stringBuilder.toString());
@@ -52,7 +52,7 @@
            return;
        }
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(!sender? "发送: 目标->" + from :"接收:来自->" + to)
        stringBuilder.append(sender? "发送: 目标->" + from :"接收:来自->" + to)
                .append("\r\n")
                .append(message);
        this.stackLogger.logInfo(stringBuilder.toString());
@@ -87,6 +87,4 @@
            this.stackLogger = this.sipStack.getStackLogger();
        }
    }
}