Hi, how can I turn off logging alltogether for Tomcat 4 from May 30th on a development machine, and I'm not into debugging Tomcat itself. I'm using log4j for my webapps, and in my webapp I have added
<servlet> <servlet-name>condb</servlet-name> ... <init-param> <param-name>logConfig</param-name> <param-value>/database/niklas/condb/log.conf</param-value> </init-param> ... </servlet> and my log.conf looks like: log4j.rootCategory=stdout,A1 log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n log4j.appender.A1=org.apache.log4j.RollingFileAppender log4j.appender.A1.File=/database/niklas/condb/all.log log4j.appender.A1.MaxFileSize=4096KB log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%5p [%t - %M] %c - %m%n This works good in the sense that I get the logging from my webapp. Only problem is that it is totally choked in debug messages from Tomcat. I would like to turn off the logs for Tomcat alltogether on this computer. When I'm going to deploy it and have it running all the time, I will turn this on again. But for debugging my app I'd like tomcat to be silent. Any suggestions? I've looked through the webpages but haven't found an answer. Cheers Nik -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>