diff --git a/src/main/resources/logback-appender.xml b/src/main/resources/logback-appender.xml new file mode 100644 index 0000000..68399d2 --- /dev/null +++ b/src/main/resources/logback-appender.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + ${CONSOLE_LOG_PATTERN} + + + + + + ${CONSOLE_LOG_PATTERN} + + + + + ${LOG_PATH}/console/info-${SERVER_INFO}-console.log + + INFO + ACCEPT + DENY + + + ${LOG_PATH}/console/info-${SERVER_INFO}-console-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${INFO_LOG_PATTERN} + + + + + ${LOG_PATH}/console/warn-${SERVER_INFO}-console.log + + WARN + ACCEPT + DENY + + + ${LOG_PATH}/warn-console/${SERVER_INFO}-console-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${WARN_LOG_PATTERN} + + + + + ${LOG_PATH}/console/error-${SERVER_INFO}-console.log + + ERROR + ACCEPT + DENY + + + ${LOG_PATH}/console/error-${SERVER_INFO}-console-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${ERROR_LOG_PATTERN} + + + + + ${LOG_PATH}/api/info-${SERVER_INFO}-api.log + + INFO + ACCEPT + DENY + + + ${LOG_PATH}/api/info-${SERVER_INFO}-api-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${INFO_LOG_PATTERN} + + + + + ${LOG_PATH}/api/warn-${SERVER_INFO}-api.log + + WARN + ACCEPT + DENY + + + ${LOG_PATH}/api/warn-${SERVER_INFO}-api-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${WARN_LOG_PATTERN} + + + + + ${LOG_PATH}/api/error-${SERVER_INFO}-api.log + + ERROR + ACCEPT + DENY + + + ${LOG_PATH}/api/error-${SERVER_INFO}-api-%d{yyyy-MM-dd}.%i.txt + 20MB + 7 + 100MB + + + ${ERROR_LOG_PATTERN} + + + \ No newline at end of file diff --git a/src/main/resources/logback-dev.xml b/src/main/resources/logback-dev.xml new file mode 100644 index 0000000..5e55f95 --- /dev/null +++ b/src/main/resources/logback-dev.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/logback-local.xml b/src/main/resources/logback-local.xml new file mode 100644 index 0000000..2540ac8 --- /dev/null +++ b/src/main/resources/logback-local.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/logback-prod.xml b/src/main/resources/logback-prod.xml new file mode 100644 index 0000000..3b879ce --- /dev/null +++ b/src/main/resources/logback-prod.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file