From e5098f1289b95460acd39d3e13b0c7aa6c380af7 Mon Sep 17 00:00:00 2001 From: song xiaolang Date: Fri, 10 Jun 2022 12:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E5=90=8E=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/logback-spring.xml | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 dataintegration-common/dataintegration-core/src/main/resources/logback-spring.xml diff --git a/dataintegration-common/dataintegration-core/src/main/resources/logback-spring.xml b/dataintegration-common/dataintegration-core/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..f4809b2 --- /dev/null +++ b/dataintegration-common/dataintegration-core/src/main/resources/logback-spring.xml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + ${PATTERN} + UTF-8 + + + + + + + + ${OPEN_FILE_PATH}/all/${APP_NAME}.log + + + ${OPEN_FILE_PATH}/all/${APP_NAME}.%d{yyyy-MM-dd}-%i.log.zip + + 30 + 10GB + + + 100MB + + + + + ${PATTERN} + + + + + + + ${OPEN_FILE_PATH}/debug/${APP_NAME}.%d{yyyy-MM-dd}-%i.log.zip + 30 + 10GB + + 100MB + + + true + + ${PATTERN} + utf-8 + + + DEBUG + ACCEPT + DENY + + + + + + + ${OPEN_FILE_PATH}/info/${APP_NAME}.%d{yyyy-MM-dd}-%i.log.zip + 30 + 10GB + + 100MB + + + true + + ${PATTERN} + utf-8 + + + INFO + ACCEPT + DENY + + + + + + + ${OPEN_FILE_PATH}/error/${APP_NAME}.%d{yyyy-MM-dd}-%i.log.zip + 30 + 10GB + + 100MB + + + true + + ${PATTERN} + utf-8 + + + ERROR + ACCEPT + DENY + + + + + + + ${OPEN_FILE_PATH}/warn/${APP_NAME}.%d{yyyy-MM-dd}-%i.log.zip + 30 + 10GB + + 100MB + + + true + + ${PATTERN} + utf-8 + + + WARN + ACCEPT + DENY + + + + + + + + + + + +