tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: log rotation clarification
Date Mon, 07 Jul 2003 10:56:19 GMT
This is correct.
The config for localhost_x is in its logging element.

For example:
         <Logger className="org.apache.catalina.logger.FileLogger"
                  directory="logs"  prefix="localhost_log." suffix=".txt"
             timestamp="true"/>

For all configurable properties, see the javadocs for 
org.apache.catalina.logger.FileLogger

For catalina.out - it still doesn't rotate and that is not changing. But it 
*may* change if if one of the committers do change and it isn't -1'd.

-Tim

Euan Guttridge wrote:
> Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but
> not catalina.out. From searching the archives you need to use a cron to
> rotate catalina. 
> 
> 1 - Is this correct
> 2 - Where is the rotation for localhost_x configured?
> 3 - Will this change in TC5?
> 
> 
> Thanks,
> Euan
> 


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


Mime
View raw message