Enable Debug level logging for Spring Framework

I was building my application using Spring Security  but it does so many things that you get confused, there are lot of filters which are automatically added so I was looking for the logs so that I can trace out what happens when then I went on the standalone.xml file and enabled the logging for Spring.

I am using currently Wildfly 8.1 and Spring 4.

Following are the changes are I made to standalone.xml

Added the following logger

Added a file handler for it.

That is it your spring log should go into the springsecurity.log file.


0 comments… add one

Leave a Comment