From b3d36453e2230d9505fa576c012301bcf49b46eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E4=BA=91=E6=98=8A?= Date: Sat, 29 Aug 2020 16:58:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(log=E6=96=87=E4=BB=B6):=E5=8E=8B=E7=BC=A9?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/log4j2-spring.xml | 45 +++++++++++++++++++++- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/modules/i3plus-core-apiservice/src/main/resources/log4j2-spring.xml b/modules/i3plus-core-apiservice/src/main/resources/log4j2-spring.xml index e80dd41..da25c13 100644 --- a/modules/i3plus-core-apiservice/src/main/resources/log4j2-spring.xml +++ b/modules/i3plus-core-apiservice/src/main/resources/log4j2-spring.xml @@ -23,7 +23,7 @@ + filePattern="${logFileRootPath}/$${date:yyyy-MM}/${project.name}-%d{yyyy-MM-dd}-%i.log.gz"> @@ -39,6 +39,11 @@ + + + + + @@ -46,11 +51,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + filePattern="${logFileRootPath}/schedule/$${date:yyyy-MM}/task-name-%d{yyyy-MM-dd}-%i.log.gz"> @@ -66,6 +101,11 @@ + + + + + @@ -89,6 +129,7 @@ + \ No newline at end of file