From bafd9535580b27edd81778ea04c49b8bf596fda0 Mon Sep 17 00:00:00 2001 From: dimengzhe Date: Tue, 4 Mar 2025 10:33:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E5=85=B3=E6=B7=BB=E5=8A=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/logback-spring.xml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 anrui-gateway/src/main/resources/logback-spring.xml diff --git a/anrui-gateway/src/main/resources/logback-spring.xml b/anrui-gateway/src/main/resources/logback-spring.xml new file mode 100644 index 0000000000..9efee7d08d --- /dev/null +++ b/anrui-gateway/src/main/resources/logback-spring.xml @@ -0,0 +1,50 @@ + + + + + + + + + + %yellow(%date{yyyy-MM-dd HH:mm:ss}) |%highlight(%-5level) |%green(%logger:%line) |%blue(%msg%n) + + + + + + + + + + + + + + + ${log.base}.log + + ${log.base}.%d{yyyyMMdd}.%i.log.zip + + + + 1MB + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} + -%msg%n + + + + + + + + + + \ No newline at end of file