java log4j not initialized even in src path
965587Oct 2 2012 — edited Oct 4 2012Hi all,
We are working with struts application in IBM Websphere server 7.0 ,we use log4j.properties file to log statements and the jar we are using is log4j-1.2.8 jar. To make this log4j work we placed the log4j.properties in src after deployment which comes under WEB-INF/classes folder and the jar file is referenced in the classpath file there are other jar files also like common-logging.jar etc.
This application works fine in local setup only this issue is in linux servers.
When we do search for initializing log4j only thing they are suggesting in classpath and we also have referenced in classpath the log4j other than that we couldnt find any other suggestion , Could anyone suggest a solution for this issue
Thanks in advance