3 Replies Latest reply on Dec 1, 2004 11:08 AM by stephen smithstone

    Showing the SQL Queries from EJB CMP

    Sergio Stateri Jr Newbie

      Hi,

      I´m trying to see the queries that JBoss 3.2.5 is doing when I use a EJB CMP, then I have put the following tag in the $JBoss_Home/server/default/conf/log4j.xml :

      <category name="org.jboss.ejb.plugins.cmp">
       <priority value="TRACE" class="org.jboss.logging.XLevel" />
      </category>


      I have seen a site (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53055) that this change would show the SQL Queries make by EJB CMP and a lot of things more...

      Is the tag (category) correct ?
      Is the file (log4j.xml) in the correct place ($JBoss_Home/server/default/conf) ?

      Thanks in advance,

      Sergio Stateri Jr
      sergio.stateri@globo.com