0 Replies Latest reply on Feb 16, 2005 12:26 PM by Joe Simone

    How to enable Hibernate debug logging using JBoss log4j.xml

    Joe Simone Newbie

      I am using JBoss 4.0.1 and Hibernate 2.1.6.

      I would like to enable Hibernate debug logging so I edited the log4j.xml file in the JBoss default/conf directory from the default ...

       <category name="net.sf.hibernate">
       <priority value="INFO" />
       </category>
      


      to ...

       <category name="net.sf.hibernate">
       <priority value="DEBUG" />
       </category>
      


      If I then stop and start JBoss and run my tests, I see no Hibernate debug messages only INFOs. This does not seem to do anything.


      Thanks.
      Joe