diff --git a/config b/config index cdea0f32..0e7345ad 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit cdea0f3251cf1bb6ec4b5d01939797da1b926510 +Subproject commit 0e7345ad89f949ea7756f6b38e1bb6f9c85a581f diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..e25d1e78 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + INFO + ACCEPT + DENY + + + utf8 + ${INFO_LOG_PATTERN} + + + + + ERROR + ACCEPT + DENY + + + utf8 + ${ERROR_LOG_PATTERN} + + + + + WARN + ACCEPT + DENY + + + utf8 + ${WARN_LOG_PATTERN} + + + + + DEBUG + ACCEPT + DENY + + + utf8 + ${DEBUG_LOG_PATTERN} + + + + + TRACE + ACCEPT + DENY + + + utf8 + ${TRACE_LOG_PATTERN} + + + + + ./log/qapple-info.log + + INFO + ACCEPT + DENY + + + utf8 + ${INFO_LOG_PATTERN} + + + ${INFO_LOG_FILE_NAME_PATTERN} + ${MAX_HISTORY} + ${MAX_FILE_SIZE} + ${TOTAL_SIZE} + + + + ./log/qapple-error.log + + ERROR + ACCEPT + DENY + + + utf8 + ${ERROR_LOG_PATTERN} + + + ${ERROR_LOG_FILE_NAME_PATTERN} + ${MAX_HISTORY} + ${MAX_FILE_SIZE} + ${TOTAL_SIZE} + + + + ./log/qapple-warn.log + + WARN + ACCEPT + DENY + + + utf8 + ${WARN_LOG_PATTERN} + + + ${WARN_LOG_FILE_NAME_PATTERN} + ${MAX_HISTORY} + ${MAX_FILE_SIZE} + ${TOTAL_SIZE} + + + + ./log/qapple-debug.log + + DEBUG + ACCEPT + DENY + + + utf8 + ${DEBUG_LOG_PATTERN} + + + ${DEBUG_LOG_FILE_NAME_PATTERN} + ${MAX_HISTORY} + ${MAX_FILE_SIZE} + ${TOTAL_SIZE} + + + + ./log/qapple-trace.log + + TRACE + ACCEPT + DENY + + + utf8 + ${TRACE_LOG_PATTERN} + + + ${TRACE_LOG_FILE_NAME_PATTERN} + ${MAX_HISTORY} + ${MAX_FILE_SIZE} + ${TOTAL_SIZE} + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file