From dad5eedaf237f2ba767505ee6b95760ab53a9a00 Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 7 Sep 2026 18:59:23 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=89=8D=E7=BD=AE=E5=BF=AB=E7=85=A7-l?= =?UTF-8?q?ogback-spring.xml(=E6=89=A7=E8=A1=8C=E6=96=B9=E6=A1=88B1~B5?= =?UTF-8?q?=E5=89=8D=E6=97=A2=E6=9C=89=E6=9C=AA=E6=8F=90=E4=BA=A4=E5=8F=98?= =?UTF-8?q?=E6=9B=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback-spring.xml | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/main/resources/logback-spring.xml diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..91c0f5f --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,35 @@ + + + + + + + + + ${CONSOLE_LOG_PATTERN} + ${CONSOLE_LOG_CHARSET} + + + + + + + /app/logs/app.log + + /app/logs/app.%d{yyyy-MM-dd}.log.zip + 60 + 5GB + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + + + + + + + + + + + \ No newline at end of file