tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric B." <>
Subject Re: swallowOutput not working properly?
Date Thu, 13 Aug 2009 20:09:23 GMT
"Filip Hanik - Dev Lists" <> wrote in message
> Tomcat doesn't use log4j in v6 in its standard distribution. You have to 
> build an adapter for that

I don't understand at all.  Can you please clarify?  All I am trying to 
accomplish is have the stdout from my webapp "swallowed" and redirected to 
tomcat's logger.  My webapp has its own self-contained log4j jar and 
configuration files and logs everything via the Console appender.  I see all 
the log output in the stdout (as expected when swallowOutput is false), 
however, when I set swallowOuptut to true, only my filters' log statements 
are swallowed; the rest are still displayed on the console.

I've tried looking through the Tomcat code to see if I can find where/how 
this is happening, but that portion of things seems to be way over my head.

Any thoughts?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message