I'm trying to enable log4j logging via commons-logging in a Struts application being developed in Websphere Studio - currently its just using SimpleLog - but cannot get it to log to a file.
I've created a commons-logging.properties file and a log4j.properties file, which I've placed under the JavaSource folder (i.e. they get moved to the web-inf/classes folder upon deployment). These are shown below:
Can anyone tell me why the output file isn't being created? I suspect that the properties files aren't being found and so log4j is not being instantiated.