[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Disable Hibernate log4 logging

urswag do-not-reply at jboss.com
Tue Jul 17 12:13:58 EDT 2007


I try to disable the hibernate logging in my web app with Hibernate.

  | log4j.rootLogger=INFO, A1
  | log4j.appender.A1=org.apache.log4j.ConsoleAppender
  | log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  | log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
  | log4j.logger.org.hibernate=WARN

I thought the last line will help, but it is not so. All select statements and so
on are still logged.
What have I to do?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065067#4065067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065067

More information about the jboss-user mailing list