1 Reply Latest reply on Jan 9, 2005 11:57 AM by Alexey Loubyansky

    logging SQL staments

    Marcelo Martins Newbie

      Hello all,

      I'm facing a problem that I need to log all SQL Statements executed by JBoss. I already changed my LOG4J.XML file as follow:

      <category name="org.jboss">
       <priority value="INFO"/>
      <category name="org.jboss">
       <priority value="DEBUG"/>

      I did a simple test: included a new record, updated it and finally delete it.
      In my log file I could see the SELECT, UPDATE and DELETE statements, but not the INSERT statements.

      Does anybody know any tip to achieve this ?

      TIA, Marcelo.