1 Reply Latest reply on Nov 13, 2007 1:31 AM by jaikiran

    Setting up log

    saurav25

      Hi All,

      I want to have set the 'org.hibernate.SQL' log level in the log configuration file to 'DEBUG'.
      I have set the property

       <category name="org.hibernate.SQL">
       <priority value="DEBUG"/>
       </category>
      


      in the jboss-log4j.xml of 'server\default\conf', 'server\minimal\conf' and the 'server\all\conf' but still i am not getting the desired output of all the DDL/DML being created in the log file.

      Am i changing the log configuration in the right place?.
      Please help


        • 1. Re: Setting up log
          jaikiran

          As far as i know, you even have to set show_sql to true in the hibernate.cfg.xml (or hibernate.properties) file to enable the SQL logs. Have you done that?