I have an application that dynamically creates SQL Prepared statements and executes them. I'm currently having a problem that I believe may reside with the code populating the prepared statements. Originally, this code ran on a WebLogic platform. With WebLogic, I could turn on JDBC Logging and the server would log all of the JDBC traffic (boy did it create a LOT of data). But it was useful for debugging analysis.
Is there a way to turn on similar JDBC/SQL logging for the JBoss server?