tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry S. Kravchenko" <>
Subject swallowOutput woks bad
Date Thu, 06 Jul 2006 02:24:07 GMT

I have servlet, that logs it's debugging information to System.out

Now I found, that all data from all webapps goes to one log file in
/var/log/.. file. I decide to redirect System.out to separate log file of an
application, but fails.

I have add these lines to server.xml:

<Host name=...>

        <!-- Logger shared by all Contexts related to this virtual host. -->
        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="logs" prefix="sitename_" suffix=".log"
                timestamp="true" verbosity="4"/>

        <Context ...>


Now I have, that very few of messages, which went to System.out recently,
now goes to logfile. The huge amount of messages simple disappears. 

What do I do wrong? Where are these messages?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message