Thanks Mark.
-----Original Message----- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 12:58 PM To: Tomcat Users List Subject: Re: Split Tomcat standard out into files for each context in 5.5 Christopher Schultz wrote: > Mark, > > Mark Thomas wrote: >> Not strictly true. > >> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > >> You want the swallowOutput parameter of the context. > > Wow, I had never seen that. How does Tomcat subvert java.lang.System.out > like that? I'm happy to read the code if you can provide a starting point. Take a look at this class http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java and its use of http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/tomcat/util/log/SystemLogHandler.java There are a couple of other places where this takes place. Grepping for SystemLogHandler should find them. HTH, Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]