From f7f17e60e0bb394cf29c5234fcdef95b7f43d09b Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Mon, 27 May 2024 13:56:09 +0200 Subject: [PATCH] [#1909] Enable opened/closed connections logging For testing --- .../src/test/resources/log4j2.properties | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hibernate-reactive-core/src/test/resources/log4j2.properties b/hibernate-reactive-core/src/test/resources/log4j2.properties index d4fd3e2b93..05ae29d5c9 100644 --- a/hibernate-reactive-core/src/test/resources/log4j2.properties +++ b/hibernate-reactive-core/src/test/resources/log4j2.properties @@ -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