648540858
2023-06-25 66eda32ab97d6e94e9f274d6faa4df586c452dfb
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();
        }
    }
}