Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.6.2'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
implementation 'me.paulschwarz:spring-dotenv:4.0.0'

implementation 'org.springframework.security:spring-security-oauth2-client'
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ logging:
type:
descriptor:
sql: debug
decorator:
datasource:
p6spy:
enable-logging: true

---
spring:
Expand All @@ -69,6 +73,7 @@ spring:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
show-sql: true

jwt:
expiration: 300000
refresh:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.github.gavlyukovskiy.boot.jdbc.decorator.DataSourceDecoratorAutoConfiguration
7 changes: 6 additions & 1 deletion src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,9 @@ logging:
hibernate:
type:
descriptor:
sql: debug
sql: trace

decorator:
datasource:
p6spy:
enable-logging: true
1 change: 1 addition & 0 deletions src/test/resources/spy.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
appender=com.p6spy.engine.spy.appender.Slf4JLogger
Loading