From 348302e1779aa5fb6613f7a91655795ca9a86929 Mon Sep 17 00:00:00 2001 From: tnals2384 Date: Mon, 16 Sep 2024 19:01:42 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20#155=20logback=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20-=20hibernate=20sql,=20security=20DEBUG=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=20=EC=B6=9C=EB=A0=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config | 2 +- src/main/resources/logback-spring.xml | 188 ++++++++++++++++++++++++++ 2 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/logback-spring.xml 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