Skip to content

Commit

Permalink
[hibernate#1909] Enable opened/closed connections logging
Browse files Browse the repository at this point in the history
 For testing
  • Loading branch information
DavideD committed May 27, 2024
1 parent a935f9f commit f7f17e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hibernate-reactive-core/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ rootLogger.appenderRef.console.ref = console

# Print the selected dialect information
logger.hibernate-dialect.name = org.hibernate.orm.dialect
logger.hibernate-dialect.level = debug
logger.hibernate-dialect.level = info

# SQL logging disabled by default to speed test suite execution
logger.hibernate.name = org.hibernate.SQL
logger.hibernate.level = info
logger.hibernate.level = debug

# We want to log when a connection is opened/closed
logger.sql-connection.name = org.hibernate.reactive.pool.impl
logger.sql-connection.level = trace

# Setting level to TRACE will show parameters values
logger.sql-parameters-values.name = org.hibernate.type
Expand Down

0 comments on commit f7f17e6

Please sign in to comment.