This content has been marked as final.
Show 2 replies
-
1. Re: Enable logging on Jboss 6.0
wdfink Dec 14, 2011 10:29 AM (in response to rosanero4ever)1 of 1 people found this helpfulWhat you want to achieve?
If you want see logging on the server side edit server/<your profile>/deploy/jboss-logging.xml.
Search for 'hibernate' activate it and set to the Level you want.
For your applicaiton add a logger category for your classes.
The logging on console is limited to INFO, the full logging is in the file server/<your profile>/log/server.log
-
2. Re: Enable logging on Jboss 6.0
rosanero4ever Dec 14, 2011 10:52 AM (in response to wdfink)Great!
I edited jboss-logging.xml as you wrote, i.e. setting
<logger category="org.hibernate">
<level name="TRACE" />
</logger>
but I put my attention at the console and not at the log file!!!!!!!
I lost many hours for this stupid problem!
Thank you very much for your precious help