From 7a1ead8b324baa9821c6633e50a27bc7cd3767ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Tue, 22 Apr 2025 11:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=BB=9A=E5=8A=A8=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.xml | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/main/resources/logback.xml diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml new file mode 100644 index 0000000..91bae64 --- /dev/null +++ b/src/main/resources/logback.xml @@ -0,0 +1,60 @@ + + + + + + + + + + ${LOG_PATTERN} + + + + + + ${LOG_PATH}/sys-info.log + + + ${LOG_PATH}/history/info/sys-info.%d{yyyy-MM-dd}.%i.log.zip + 20MB + 7 + 200MB + + + ${LOG_PATTERN} + + + INFO + + + + + + ${LOG_PATH}/sys-error.log + + ${LOG_PATH}/history/error/sys-error.%d{yyyy-MM-dd}.%i.log.zip + 20MB + 7 + 200MB + + + ${LOG_PATTERN} + + + ERROR + + + + + + + + + + + + + + +