config: hibernate sql log 출력 제거

-> p6spy 로그만 활성
main
Jonguk. Lim 4 months ago
parent ef48eb5833
commit d8af5b58e7

@ -4,8 +4,8 @@ decorator:
enable-logging: true #p6spy logging 활성화 여부 enable-logging: true #p6spy logging 활성화 여부
multiline: true multiline: true
logging: slf4j logging: slf4j
# custom-appender-class: com.p6spy.engine.spy.appender.Slf4JLogger # custom-appender-class: com.p6spy.engine.spy.appender.Slf4JLogger
# log-format: cokr.xit.ens.core.config.support.P6spySqlFormatConfiguration # log-format: cokr.xit.ens.core.config.support.P6spySqlFormatConfiguration
tracing: tracing:
include-parameter-values: true include-parameter-values: true
@ -16,17 +16,18 @@ logging:
level: level:
root: info root: info
'[org.hibernate.type.descriptor.sql]': off #jpa "?" 부분(binding 파라미터) 출력 '[org.hibernate.type.descriptor.sql]': off #jpa "?" 부분(binding 파라미터) 출력
# '[org.springframework.orm.jpa]': debug # '[org.springframework.orm.jpa]': debug
# '[org.springframework.transaction]': debug # '[org.springframework.transaction]': debug
# '[org.springframework.transaction.interceptor]': trace # '[org.springframework.transaction.interceptor]': trace
# '[org.springframework.jdbc.core]': off # '[org.springframework.jdbc.core]': off
# '[org.springframework.orm]': off # '[org.springframework.orm]': off
# '[org.springframework.orm.hibernate5]': off # '[org.springframework.orm.hibernate5]': off
# '[com.p6spy.engine.logging]': off # '[com.p6spy.engine.logging]': off
# '[com.p6spy]': off # '[com.p6spy]': off
# '[org.hibernate]': off # '[org.hibernate]': off
# '[org.hibernate.sql]': off # '[org.hibernate.sql]': off
# '[org.hibernate.jpa]': off # '[org.hibernate.jpa]': off
'[org.mariadb.jdbc.internal.logging]': WARN
exception-conversion-word: '%wEx' exception-conversion-word: '%wEx'
pattern: 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}' 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}'

Loading…
Cancel
Save