Skip to content

Commit 1d88769

Browse files
committed
Enable Hibernate logging
1 parent 3a1f14d commit 1d88769

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

klass-forvaltning/src/main/resources/application-postgres.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ flyway.enabled=false
55
spring.jpa.hibernate.ddl-auto=none
66
spring.datasource.hikari.connection-test-query=SELECT 1
77
spring.datasource.hikari.validation-timeout=3000
8+
logging.level.org.hibernate.SQL=DEBUG
9+
logging.level.org.hibernate.type.descriptor.sql=TRACE
810
spring.jpa.properties.hibernate.format_sql=true
911
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

0 commit comments

Comments
 (0)