I'm using Log4j
in my application and application logging is working fine while framework in my application is internally using commons-logging
and logs are going to System.out
but I want to redirect them to a separate file and also want to enable DEBUG
level.
Tested this on tomcat and working fine. Generating all logs in their respective files. But when I deploy code on WAS7.0, only INFO
level of framework logs are being generated SystemOut.log. (my log4j.xml
is fine as it is working fine on tomcat)
Any help would be appreciated. Thanks!