Hi, >I am using log4j in my WebApplication. >Where I must configurate path or classpath in Tomcat to locate >logXX.properties (properties file of log4j). > >I put my propertie file in web-inf\classes but it does not works.
If you put your log4j properties files in WEB-INF/classes and the log4j.jar in WEB-INF/lib it should work automatically. Note the capitalization of WEB-INF. If it doesn't work, what errors do you get in the log? You can also add log4j.debug=true to your JVM properties using JAVA_OPTS in $CATALINA_HOME/bin/catalina.sh to see log4j's internal debugging output. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]