This content has been marked as final.
Show 2 replies
-
1. Re: How to log SQL generated statement ?
juhalindfors Aug 3, 2003 7:10 AM (in response to ansarim)Uncomment the following lines in your log4j.xml
<!-- Limit JBoss categories to INFO <category name="org.jboss"> <priority value="INFO"/> </category> --> <!-- Decrease the priority threshold for the org.jboss.varia category <category name="org.jboss.varia"> <priority value="DEBUG"/> </category> -->
Additionally also limit org.apache category to INFO. Make sure your appender (CONSOLE or FILE) has threshold set to DEBUG depending on where you want to log the SQL statements.
-- Juha -
2. Re: How to log SQL generated statement ?
juhalindfors Aug 3, 2003 7:14 AM (in response to ansarim)The 'org.jboss.varia' category should have been 'org.jboss.ejb.plugins.cmp'.
-- Juha