We are using RAD 7.5 as IDE and also log4j for logging purpose. we want to enable spring logging.
I tried the following
- Added
org.springframework.web.util.Log4jConfigListeneras a listener inweb.xml. It is added beforeContextLoaderListener. log4j.propertiesis present in application war underWEB-INF.- Add the following context parameter in
web.xml:
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</context-param>
In log 4j added the following
log4j.logger.org.springframework=ALL
Even then I am not able to see any output in console or in log file.
Can anyone please let me know the exact steps for enabling spring logging.