tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Split Tomcat standard out into files for each context in 5.5
Date Tue, 04 Dec 2007 17:57:53 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message