Hi!

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 ...>

</Host>

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?

Thanks.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to