tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milt Epstein <mepst...@uiuc.edu>
Subject Re: logrotate question
Date Thu, 22 Mar 2001 12:20:13 GMT
On Thu, 22 Mar 2001, unplug wrote:

> Hi all,
> 
>   I edit the logrotate config file for tomcat as follow.
> 
> /var/log/tomcat/*.log {
>    compress
>    daily
>    rotate 7
>    notifempty
>    missingok
>    postrotate
>       /etc/init.d/tomcat restart
>    endscript
> }

What logging/rotating facility is this?  Something built into tomcat?
log4j?  Something else?  Thanks.


>   However, I found that it will stop and than start the tomcat
> 3 times.  It is the numer of the log file in the tomcat (tomcat.log,
> jasper.log & servlet.log).  How can I make it to restart only once
> for rotating 3 log files??
> 
> Rgds,
> unplug
> 

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


Mime
View raw message