Try log4j.jar in WEB-INF/lib/ and log4j.properties in WEB-INF/classes
At 15:40 30.09.2002 +0800, you wrote: >I am sure this has been up before, but I can't find it in my archive. > >What do I need to do to get Log4J to read my log4j.properties file??? > >Basic example, straight from docs; > ># Set root logger level to DEBUG and its only appender to A2. >log4j.rootLogger=DEBUG, A2 > >log4j.appender.A2=org.apache.log4j.FileAppender >log4j.appender.A2.File=file:///tomcat/webapps/soap-service/logs/xzone.log >log4j.appender.A2.layout=org.apache.log4j.PatternLayout >log4j.appender.A2.layout.ConversionPattern=%-5p [%t] %C{2} (%F:%L) - %m%n > >(I have tried xzone.log as well as full paths.) > >I have tried having log4j.jar in the WEB-INF/lib/, as well as in /tomcat/lib, >but to no avail. > >I keep getting the logger output to localhost.log, with the default >formatting. > > >Close to nervous breakdown.... >Niclas -- Ceki TCP implementations will follow a general principle of robustness: be conservative in what you do, be liberal in what you accept from others. -- Jon Postel, RFC 793 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>