Skip to content

Commit 6668331

Browse files
committed
[hibernate#1950] Change log4j.properties
* Print the full class path with the line number this way the IDE can link the message to the corresponding class * Disable log related to the connection: it's useful only in certain situations and too verbose otherwise
1 parent 4ece884 commit 6668331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-reactive-core/src/test/resources/log4j2.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ logger.hibernate.level = info
1212

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

1717
# Setting level to TRACE will show parameters values
1818
logger.sql-parameters-values.name = org.hibernate.type
@@ -21,5 +21,5 @@ logger.sql-parameters-values.level = info
2121
appender.console.name = console
2222
appender.console.type = Console
2323
appender.console.layout.type = PatternLayout
24-
appender.console.layout.pattern = %highlight{%p} %style{%c{1}}{Blue} [%t] %m%n
24+
appender.console.layout.pattern = %highlight{%p} %style{%c:%L}{Blue} [%t] %m%n
2525

0 commit comments

Comments
 (0)