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 활성화 여부
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}'

Loading…
Cancel
Save