From d8af5b58e7233f55189f1ffce2ab9cfc9afc452e Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 31 Jul 2024 17:16:53 +0900 Subject: [PATCH] =?UTF-8?q?config:=20hibernate=20sql=20log=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=20=EC=A0=9C=EA=B1=B0=20=20=20=20=20=20=20=20=20->=20p?= =?UTF-8?q?6spy=20=EB=A1=9C=EA=B7=B8=EB=A7=8C=20=ED=99=9C=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/config/conf-log.yml | 29 +++++++++++++------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/main/resources/config/conf-log.yml b/src/main/resources/config/conf-log.yml index 293da3e..fb5841b 100644 --- a/src/main/resources/config/conf-log.yml +++ b/src/main/resources/config/conf-log.yml @@ -4,8 +4,8 @@ decorator: enable-logging: true #p6spy logging 활성화 여부 multiline: true logging: slf4j -# custom-appender-class: com.p6spy.engine.spy.appender.Slf4JLogger -# log-format: cokr.xit.ens.core.config.support.P6spySqlFormatConfiguration + # custom-appender-class: com.p6spy.engine.spy.appender.Slf4JLogger + # log-format: cokr.xit.ens.core.config.support.P6spySqlFormatConfiguration tracing: include-parameter-values: true @@ -16,17 +16,18 @@ logging: level: root: info '[org.hibernate.type.descriptor.sql]': off #jpa "?" 부분(binding 파라미터) 출력 -# '[org.springframework.orm.jpa]': debug -# '[org.springframework.transaction]': debug -# '[org.springframework.transaction.interceptor]': trace -# '[org.springframework.jdbc.core]': off -# '[org.springframework.orm]': off -# '[org.springframework.orm.hibernate5]': off -# '[com.p6spy.engine.logging]': off -# '[com.p6spy]': off -# '[org.hibernate]': off -# '[org.hibernate.sql]': off -# '[org.hibernate.jpa]': off + # '[org.springframework.orm.jpa]': debug + # '[org.springframework.transaction]': debug + # '[org.springframework.transaction.interceptor]': trace + # '[org.springframework.jdbc.core]': off + # '[org.springframework.orm]': off + # '[org.springframework.orm.hibernate5]': off + # '[com.p6spy.engine.logging]': off + # '[com.p6spy]': off + # '[org.hibernate]': off + # '[org.hibernate.sql]': off + # '[org.hibernate.jpa]': off + '[org.mariadb.jdbc.internal.logging]': WARN exception-conversion-word: '%wEx' pattern: console: '%d{yyyy-MM-dd HH:mm:ss.SSS} %clr(${LOG_LEVEL_PATTERN:-%5p}){green} %clr([%18thread]){magenta} %clr(%-40.40logger{39}%line){cyan} %clr(: %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}){faint}' @@ -41,4 +42,4 @@ logging: # '[org.springframework]': debug # '[org.hibernate]': info # slack: -# webhook-uri: https://hooks.slack.com/services/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 \ No newline at end of file +# webhook-uri: https://hooks.slack.com/services/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