From a5b69344aed94be28fcc58182120c348b9279c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B8=B0=EC=84=9C?= <81108344+rlarltj@users.noreply.github.com> Date: Fri, 28 Jun 2024 19:45:09 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20prod=20=ED=99=98=EA=B2=BD=EC=9D=98=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EB=A5=BC=20=EC=9D=BC=EC=9E=90=EB=B3=84?= =?UTF-8?q?=EB=A1=9C=20=ED=8C=8C=EC=9D=BC=20=EC=A0=80=EC=9E=A5=ED=95=9C?= =?UTF-8?q?=EB=8B=A4.=20(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../appender/moneymong-file-appender.xml | 19 +++++++++++++++++++ src/main/resources/logback-spring.xml | 7 ++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/appender/moneymong-file-appender.xml diff --git a/src/main/resources/appender/moneymong-file-appender.xml b/src/main/resources/appender/moneymong-file-appender.xml new file mode 100644 index 0000000..5fffd50 --- /dev/null +++ b/src/main/resources/appender/moneymong-file-appender.xml @@ -0,0 +1,19 @@ + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + logs/spring-boot-logging.%d{yyyy-MM-dd}_%i.log + + + 30 + + 10MB + + + + + + diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index d7402e0..9c436ed 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -3,9 +3,6 @@ - - @@ -22,8 +19,12 @@ + + + +