-->
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: Turn on trace level logging for hibernate ( JDK1.4 )
PostPosted: Tue Mar 02, 2004 6:16 pm 
Beginner
Beginner

Joined: Wed Oct 01, 2003 3:47 pm
Posts: 44
I'm getting a StackOverflowError during a flush() with updates. There is no stack trace for the error, so I'd like to turn on a more detailed logging level for hibernate to see how far it's getting.

I've tried:

Logger.getLogger("").setLevel(Level.ALL);
Logger.getLogger( "net.sf.hibernate").setLevel(Level.ALL);

to no avail. The lowest log level I get from hibernate is INFO, no matter what. However, I can see plenty of methods starting from flush() that are using TRACE.. For example, I should see the result of this:

log.trace("flushing session");

Any idea how to turn on TRACE level debugging in hibernate using JDK 1.4 logging?

Thanks,

Ryan


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.