HHH-15238 - Documentation: update JDBC logging configuration for 6.0

This commit is contained in:
Hirosato Hano 2022-04-30 03:16:21 +09:00 committed by Christian Beikov
parent b469c73d1e
commit ef443b11ad
1 changed files with 3 additions and 2 deletions

View File

@ -34,9 +34,10 @@ For Log4j, you can use the following appenders:
### log just the SQL ### log just the SQL
log4j.logger.org.hibernate.SQL=debug log4j.logger.org.hibernate.SQL=debug
### log JDBC bind parameters ### ### log JDBC bind parameters and extracted values ###
log4j.logger.org.hibernate.type=trace log4j.logger.org.hibernate.type=trace
log4j.logger.org.hibernate.type.descriptor.jdbc=trace log4j.logger.org.hibernate.orm.jdbc.bind=trace
log4j.logger.org.hibernate.orm.jdbc.extract=trace
---- ----
However, there are some other alternatives like using datasource-proxy or p6spy. However, there are some other alternatives like using datasource-proxy or p6spy.