improved SQL query logging via net.ttddyy.dsproxy.listener for test

This commit is contained in:
Michael Hoennig 2022-10-14 08:33:59 +02:00
parent d666e22297
commit c6d92e271f
2 changed files with 3 additions and 5 deletions

View File

@ -55,6 +55,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.github.gavlyukovskiy:datasource-proxy-spring-boot-starter:1.8.1'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.11'
implementation 'org.liquibase:liquibase-core'
implementation 'com.vladmihalcea:hibernate-types-55:2.19.2'

View File

@ -17,7 +17,7 @@ spring:
format_sql: false
hibernate:
ddl-auto: none
show-sql: true
show-sql: false
test:
database:
@ -30,7 +30,4 @@ spring:
logging:
level:
liquibase: INFO
X.org.hibernate.SQL: DEBUG
X.org.hibernate.type.descriptor.sql.BasicBinder: TRACE
X.org.springframework.jdbc.core: TRACE
net.ttddyy.dsproxy.listener: debug
net.ttddyy.dsproxy.listener: DEBUG