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

    logging SQL staments

    martinsm

      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:
      from

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

      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.