In the release notes for EWS, there is a section on how to configure log4j to work with Tomcat6. We should have something similar for Tomcat5.
Currently the log4j.jar and log4j.properties files are in redhat/ews/share/apache-tomcat-6.0.24/extras but they will go to a more appropriate location in next release.
To set log4j up in Tomcat5, you need to put log4j.jar to common/lib and log4j.properties to common/classes. That's about it.