It is necessary to enable the Spring logs, to check the problems coming at server startup or run-time (problems related to Spring).
For this, just make sure that you have log4j.properties or log4j.xml configured in the application.
Add 2 Spring specific settings to this configuration file, whichever used.
log4j.properties
# Spring Stuff
log4j.logger.org.springframework=ERROR
log4j.logger.com.btsl.basext.spring=ERROR
log4j.xml
<logger name="log4j.logger.org.springframework">
<level value="ERROR" />
</logger>
<logger name="log4j.logger.com.btsl.basext.spring">
<level value="ERROR" />
</logger>
No comments:
Post a Comment
Note: only a member of this blog may post a comment.