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