-->
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.  [ 3 posts ] 
Author Message
 Post subject: log4j.logger.org.hibernate.type=DEBUG does not work
PostPosted: Sun Mar 11, 2007 6:05 am 
Newbie

Joined: Thu Jan 05, 2006 6:03 am
Posts: 9
Hi,

i try to swith on

Code:
# Log JDBC bind parameter runtime arguments
  log4j.logger.org.hibernate.type=DEBUG


but no binding output is shown.

However, changing other debuggings with

Code:
log4j.rootLogger=DEBUG, stdout


works fine (so i use the correct log4j setup file).

I'm using the HelloWorld example with:

Version:94 - Hibernate EntityManager 3.2.0.CR1
10:35:53,310 INFO Version:94 - Hibernate Annotations 3.2.0.CR1
10:35:53,324 INFO Environment:94 - Hibernate 3.2 cr2



What do i miss?

thanks
Marcel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 7:14 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi marcelruff

Try

# Log JDBC bind parameter runtime arguments
log4j.logger.org.hibernate=DEBUG, Hibernate

and log4j property for Hibernate named Logger

_________________
Dharmendra Pandey


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 7:15 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi marcelruff

Try

# Log JDBC bind parameter runtime arguments
log4j.logger.org.hibernate=DEBUG, Hibernate

and log4j property for Hibernate named Logger

_________________
Dharmendra Pandey


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.