[ACCEPTED]-Enabling logging in Spring-log4j
Accepted answer
In your properties file you should have
log4j.category.org.springframework=ALL
not 1
log4j.logger.org.springframework=ALL
See this section in the Spring reference.
If you're using log4j2 using the common 4 XML configuration format, add a Logger in 3 your Loggers node:
<Logger name="org.springframework" level="trace"/>
Normally, the appenders 2 used will be the ones attached to the Root 1 entry.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.