My current log4j properties file has the following input regarding Hibernate:
[code] log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n log4j.rootLogger=warn, stdout #log4j.logger.org.hibernate=info #log4j.logger.org.hibernate=DEBUG log4j.logger.org.hibernate=debug, stdout log4j.logger.org.hibernate.SQL=debug, stdout log4j.logger.org.hibernate.type=info, stdout log4j.logger.org.hibernate.engine.QueryParameters=debug [/code] and the file is in the lib folder of my web application. 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). Can anyone help me understand what am I doing wrong for the hibernate not being logged? Thank you for your replies! -- View this message in context: http://www.nabble.com/Log4j-not-logging-hibernate-tf4738349.html#a13550421 Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]