-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to get the deepest stac trace in the log file
PostPosted: Thu Jun 03, 2004 9:50 am 
Newbie

Joined: Tue Apr 20, 2004 8:43 am
Posts: 6
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 !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.