From fe37c042563339ba89f3ace7ea1d75a1362b5ee2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=89=E6=9D=A5=E6=8A=80=E6=9C=AF?= <1490493387@qq.com>
Date: Sun, 29 Aug 2021 01:03:01 +0800
Subject: [PATCH] =?UTF-8?q?refactor(logback-spring.xml):=20log4j2=E6=94=B9?=
=?UTF-8?q?=E5=9B=9Elogback=EF=BC=8C=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=97=A5?=
=?UTF-8?q?=E5=BF=97=E6=96=87=E4=BB=B6=EF=BC=8C=E5=90=8E=E9=9D=A2ELFK?=
=?UTF-8?q?=E7=9B=91=E5=90=AC=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6=E9=9C=80?=
=?UTF-8?q?=E8=A6=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/logback-spring.xml | 91 +++++++++++++++++++
.../src/main/resources/log4j2-spring.xml | 80 ----------------
2 files changed, 91 insertions(+), 80 deletions(-)
create mode 100644 youlai-common/common-log/src/main/resources/logback-spring.xml
delete mode 100644 youlai-common/common-web/src/main/resources/log4j2-spring.xml
diff --git a/youlai-common/common-log/src/main/resources/logback-spring.xml b/youlai-common/common-log/src/main/resources/logback-spring.xml
new file mode 100644
index 000000000..83473ae9e
--- /dev/null
+++ b/youlai-common/common-log/src/main/resources/logback-spring.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+ 100MB
+
+
+ 15
+
+
+ INFO
+ ACCEPT
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/youlai-common/common-web/src/main/resources/log4j2-spring.xml b/youlai-common/common-web/src/main/resources/log4j2-spring.xml
deleted file mode 100644
index e9f76602d..000000000
--- a/youlai-common/common-web/src/main/resources/log4j2-spring.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-