On Mon, 15 Mar 2004, Shapira, Yoav wrote:

> Only if your webapps are bad and use System.out/System.err ;)
>
> You can add swallowOutput="true" to your context declarations to make
> System.out/System.err output from the webapps go to the localhost log.
> (Or the Logger defined for the Context, if you have one).  JVM stdout
> messages, such as verbose GC, would still go to catalina.out.
>
> In the long term, use a real logging framework like log4j in your
> applications and you'll be happier all around ;)  Or at least the
> Servlet Spec-provided logging via ServletContext#log.

Thanks.  Unfortunately we don't have as much control over this as we
would like.  We provide the infrastructure for a large set of Web
applications developed by a large community, and though there are
standards and "best practices" that have been disseminated, they're
not always adhered to.  We sometimes need to make a bad situation more
manageable, and in the short term getting a handle on System.out usage
by the "bad" applications is highly desirable.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to