log highlighted SQL from tests

This commit is contained in:
Gavin 2023-04-22 20:48:27 +02:00
parent 19e2f1ce22
commit b2883fd9a2
2 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,9 @@ hibernate.connection.init_sql @connection.init_sql@
hibernate.connection.pool_size 5 hibernate.connection.pool_size 5
hibernate.show_sql false hibernate.show_sql true
hibernate.format_sql true hibernate.format_sql true
hibernate.highlight_sql true
hibernate.max_fetch_depth 5 hibernate.max_fetch_depth 5

View File

@ -62,7 +62,7 @@ logger.sqm-tree.name=org.hibernate.orm.query.sqm.ast
# SQL Logging - HHH-6833 # SQL Logging - HHH-6833
logger.sql.name=org.hibernate.SQL logger.sql.name=org.hibernate.SQL
logger.sql.level=debug logger.sql.level=info
logger.tests.name=org.hibernate.orm.test logger.tests.name=org.hibernate.orm.test
logger.tests.level=info logger.tests.level=info