logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <psm...@aconex.com>
Subject Re: Log4j not logging hibernate
Date Sat, 03 Nov 2007 04:46:21 GMT
> Unfortunately, I cannot get any Hibernate logs on my tomcat logging  
> file
> unless I explicitly set the attribute
> 		        <property name="show_sql">true</property>
> on my hibernate.cfg.xml file. (and I can't get my queryparameters,  
> on which
> I am interested in).

This is really a Hibernate question. If you actually dig into the  
Hibernate source code you will find that it will not log anything  
unless that Hibernate property is set.  This is not something log4j  
has control over.


Paul Smith

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message