From 03b89664f8a0bc56f609ad8e31e205464c1d203f Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 4 Nov 2024 11:20:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20logback=20log=20=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback-spring.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 2eb014e..249b517 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -21,7 +21,7 @@ - ${LOG_PATH}/${LOG_FILE}.%d{yyyy-MM-dd}_%i.log + ${LOG_PATH}/backup/${LOG_FILE}.%d{yyyy-MM-dd}_%i.log.gz 10MB @@ -36,7 +36,8 @@ error ACCEPT - DENY + + ACCEPT ${LOG_PATH}/${LOG_FILE}-error.log @@ -46,13 +47,13 @@ - ${LOG_PATH}/${LOG_FILE}-error.%d{yyyy-MM-dd}_%i.log + ${LOG_PATH}/backup/${LOG_FILE}-error.%d{yyyy-MM-dd}_%i.log.gz 10MB - 60 + 30