Hi,
I am using log4j in my Websphere WAR to successfully log all my project's events, so I know I have log4j configured correctly and working for my normal logging through Websphere, but I can't seem to get Hibernate to also append to my log. Is there something else I would have to do? Here are my log4j.properties:
log4j.rootLogger=DEBUG, CITACTLog
log4j.logger.org.hibernate.type=DEBUG
log4j.logger.org.apache=ERROR, CITACTLog
#log4j.logger.com.fifththird.cit=DEBUG, CITACTLog
#-------------------------------------
# CITACTLog general log file.
#-------------------------------------
log4j.appender.CITACTLog=org.apache.log4j.RollingFileAppender
log4j.appender.CITACTLog.File=/logtest/CIT_ACT.log
log4j.appender.CITACTLog.MaxFileSize=10MB
log4j.appender.CITACTLog.MaxBackupIndex=5
log4j.appender.CITACTLog.layout=org.apache.log4j.PatternLayout
log4j.appender.CITACTLog.layout.ConversionPattern=%d{ISO8601} %-5p %c [%t]: %m%n%n
I am not getting any kind of logging output from Hibernate in my logs with my current settings. I am using Hibernate 3. Is there something else I need to do to hook into Hibernate's logging? Thanks to anyone for helping me with this question, or for just taking the time to read it! :],
Jim
|