logging SQL from JBoss 3.2.x
To get JBoss 3.2.x to log SQL I did the following
Add this to the log4j.xml file in my server's conf directory
<category name="org.jboss.ejb.plugins.cmp.jdbc">
<priority value="DEBUG"/>
</category>
Changed the threashold for logging to the console to 'DEBUG', like this.
<param name="Threshold" value="DEBUG"/>
In the appender named 'Console' near the top of the log4j.xml file for me.

