tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric B." <ebe...@hotmail.com>
Subject Re: swallowOutput not working properly?
Date Thu, 13 Aug 2009 20:09:23 GMT
"Filip Hanik - Dev Lists" <devlists@hanik.com> wrote in message 
news:4A84706E.2040704@hanik.com...
> 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?

Thanks,

Eric 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message