Hello !
I'm wondering how to get a very complete stac trace of any Hibernate exeception that apeare while an application execution.
The application runes on the prodaction server and I want to collect all application eception into a log file for farther investigation. And this data should be verbose as much as posible ;)
this trace of log4j.properties
Quote:
@log.settings.line1@
@log.settings.line2@
@log.settings.line3@
@log.settings.line4@
@log.settings.line5@
### set log levels ##
log4j.category.net.sf.hibernate=off
log4j.category.com.cmsforex.persistence=off
### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
log4j.category.net.sf.hibernate.connection.DriverManagerConnectionProvider=off
### log JDBC bind parameters ###
log4j.category.net.sf.hibernate.type=off
### log prepared statement cache activity ###
log4j.category.net.sf.hibernate.ps.PreparedStatementCache=off
#cache
log4j.category.net.sf.ehcache=info
Thanks a lot !