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 @@ + + + +