Hi one,

in apps-vhosts.xml (or where ever you define your hosts) 
try something like:

<!-- +++++++++++++++++ Web serving virtual host +++++++++++++++++ -->
    <Host name="www.tiade-voboe.de">
        <Alias name="www" />

        <Context path="" 
            docBase="/usr/local/httpd/webapps/www" 
            debug="0" 
            reloadable="False" > 

            <LogSetter name="www_tc_log" 
                path="/var/log/tomcat/www_tc.log" 
                verbosityLevel="ERROR"/>
            <LogSetter name="www_servlet_log"                    
                path="/var/log/tomcat/www_servlet.log" 
                servletLogger="true" 
                verbosityLevel = "ERROR"/>

        </Context>
    </Host>

Please note the 'servletLogger' statement.
Should work for every context.

Have fun
        MvB


Am Donnerstag,  1. Januar 1970 01:00 schrieb Renato:
> Hi all,
>
> I have an environment with multiple contexts and users. I'm running Tomcat
> 3.3-dev.
>
> Currently all log information from the servlets, exceptions, etc, is
> centralized in one log file. If it possible to create a log file per
> context ? ( maybe the logsetter under the <Host> tag ?
>
> Thanks
> Renato - Brazil.
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to