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 b1cbcfc commit e8a37f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hibernate-reactive-core/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ logger.hibernate-dialect.level = debug
logger.hibernate.name = org.hibernate.SQL
logger.hibernate.level = info

# 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
logger.sql-parameters-values.level = info
Expand Down

0 comments on commit e8a37f3

Please sign in to comment.