From ddcc72b18880409492e159b9910a75d908d24823 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Wed, 13 Mar 2024 23:03:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(logback-spring.xml):=20=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/logback-spring.xml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 youlai-common/common-web/src/main/resources/logback-spring.xml diff --git a/youlai-common/common-web/src/main/resources/logback-spring.xml b/youlai-common/common-web/src/main/resources/logback-spring.xml new file mode 100644 index 000000000..8326de1da --- /dev/null +++ b/youlai-common/common-web/src/main/resources/logback-spring.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + DEBUG + + + ${CONSOLE_LOG_PATTERN} + UTF-8 + + + + + + + ${LOG_HOME}/log.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} -%5level ---[%15.15thread] %-40.40logger{39} : %msg%n%n + UTF-8 + + + + ${LOG_HOME}/%d{yyyy-MM-dd}.%i.log + + 10MB + + + 15 + + + + INFO + + + + + + + + + + + + + + + + + + \ No newline at end of file