-->
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.  [ 2 posts ] 
Author Message
 Post subject: logging bind parameters using jdk logging
PostPosted: Mon Mar 27, 2006 9:31 pm 
Newbie

Joined: Wed Nov 26, 2003 4:41 pm
Posts: 12
Hi all,

I'm trying to debug a problem and am trying to get the logging of the bind types (like I can by putting "log4j.logger.org.hibernate.type=debug" in my log4j.properties). This is on an environment where we use the jdk logging (running inside WL9.1) and I think I've configured the appropriate loggers correctly:
org.hibernate.SQL ALL
org.hibernate.type ALL
but nothing shows up in the logs.

Has anyone got any tips on getting the debug output on jdk logging?

cheers
dim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 28, 2006 12:26 am 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
What do you mean by "jdk logging"? Do you mean java.util.logging? Or log4j?

If you're trying to configure log4j, then the syntax is
Code:
log4j.logger.org.hibernate.type=DEBUG
That goes in your log4j.properties file.

If you've configured apache commons logging to use java.util.logging (and hibernate uses apache commons to get its logger), then the syntax is
Code:
org.hibernate.type.level=ALL
That goes in your logging.properties file.


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

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.