Spring / Spring Beans
How do you debug Spring configuration?
The quick way would be enabling the spring logging in log4j. Add spring appenders to the log4j config either log4j.xml or log4j.properties.
<category name="org.springframework.beans"> <priority value="debug" /> </category>
Based on the required module, logging could be expanded.Use either or combination as required.
<category name="org.springframework"> <priority value="debug" /> </category> <category name="org.springframework.beans"> <priority value="debug" /> </category> <category name="org.springframework.security"> <priority value="debug" /> </category>
More Related questions...