From e8a37f3e1295c3f23deecc1e2562934f213b7065 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 --- hibernate-reactive-core/src/test/resources/log4j2.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hibernate-reactive-core/src/test/resources/log4j2.properties b/hibernate-reactive-core/src/test/resources/log4j2.properties index d4fd3e2b9..8b9167706 100644 --- a/hibernate-reactive-core/src/test/resources/log4j2.properties +++ b/hibernate-reactive-core/src/test/resources/log4j2.properties @@ -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