Sunday 12 February 2017

How to print the sql in console while running in JBOSS

Hi Everyone,

Mostly when you are running your JBOSS through eclipse, the sql will be logged in the server log file.

If you want to print the sql in the eclipse console, you need to change the config in LOG4J xml. You should change the console appender from WARN  to DEBUG in the xml.

No comments:

Post a Comment