0 Replies Latest reply on Jul 17, 2007 12:13 PM by Urs Wagner

    Disable Hibernate log4 logging

    Urs Wagner Novice

      Hello

      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?

      Thanks.