2 Replies Latest reply on Apr 10, 2008 5:50 PM by nathan dennis

    How To Disable Hibernate Messages

    nathan dennis Expert

      jboss 4.2.2
      How can i set the priority Hibernate Message to standard output? I dont want to look at all the queries.
      How to target Hibernate specifically in standard output?


      tried


       <!-- Limit the org.hibernate category to INFO since logging to DEBUG affects performance badly -->
         <category name="org.hibernate">
            <priority value="WARN"/>
         </category>
      
         <!-- Log SQL statements-->
         <category name="org.hibernate.SQL">
            <priority value="WARN"/>
         </category>
      
         <!-- Log the values assigned to the SQL parameters and results -->
         <category name="org.hibernate.type">
            <priority value="WARN"/>
         </category>
      
         <!-- Log transaction event/JTA -->
         <category name="org.hibernate.transaction">
            <priority value="WARN"/>
         </category>
         <category name="org.hibernate.event.def.AbstractFlushingEventListener">
            <priority value="WARN"/>
         </category>
      
         <!-- Show SQL Logs for Hibernate Schema Export -->
         <category name="org.hibernate.tool.hbm2ddl.SchemaExport">
            <priority value="WARN" />
         </category>
      
      


      with no luck