From 42434897ae18f36222dbf11488f311e7938dca75 Mon Sep 17 00:00:00 2001
From: lizw-2015 <1183409807@qq.com>
Date: Tue, 1 Jul 2025 09:33:48 +0800
Subject: [PATCH] =?UTF-8?q?feat(yvan-lcc-bench):=20=E6=B7=BB=E5=8A=A0=20AM?=
=?UTF-8?q?R=20=E6=8A=A5=E6=96=87=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增 AMR_FILE appender,用于记录 AMR 报文日志
- 添加对应的 logger 配置,将 AMR 报文日志输出到指定文件
- 设置日志滚动策略,保留最近三天的日志文件
---
servo/src/main/resources/logback-spring.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/servo/src/main/resources/logback-spring.xml b/servo/src/main/resources/logback-spring.xml
index a95b7a4..74df75b 100644
--- a/servo/src/main/resources/logback-spring.xml
+++ b/servo/src/main/resources/logback-spring.xml
@@ -57,11 +57,31 @@
+
+
+ ${LOG_PATH}/AmrMessageHandler.log
+
+ ${LOG_PATH}/AmrMessageHandler.%d{yyyy-MM-dd}.log.zip
+ 3
+
+
+ ${ENCODER_PATTERN}
+
+
+ DEBUG
+
+
+
+
+
+
+
+