We are using log4j.xml for logging. Everything is working fine except
hibernet logging. All logs files are crated but for hibernate only log file
is created and it remains empty.
My log4j.xml settings are
<appender name="HIBERNATELOG"
class="org.apache.log4j.RollingFileAppender">
<layout
class="com.common.logging.client.CommonLoggingLayout">
</layout>
</appender>
<logger name="org.hibernate" additivity="false">
<level value="DEBUG"/>
<appender-ref ref="HIBERNATELOG"/>
</logger>
here ../log/hibernate.log file is created in tomcat but nothing after that.
I can see logs on console and in cataline.out file.
Please help.
Thanks in advance.
--
View this message in context:
http://old.nabble.com/Log4j.xml-setting-for-Hibernate-not-working-tp26370675p26370675.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]