tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: logrotate and tomcat 3.3/4.0/4.1
Date Tue, 30 Apr 2002 07:49:35 GMT
Whaou.

Didn't now about copytruncate option of logrotate.

Under Linux there is truncate and ftruncate calls 
but I wonder how it works regarding OS ?

I'll add this to all my tomcat rpm ASAP....

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: Bojan Smojver [mailto:bojan@binarix.com]
>Sent: Tuesday, April 30, 2002 12:40 AM
>To: Tomcat Dev List
>Subject: RE: logrotate and tomcat 3.3/4.0/4.1
>
>
>This works (TC 3.3.x):
>
>/var/tomcat/logs/*.log {
>    copytruncate
>    weekly
>    rotate 52
>    compress
>    missingok
>}
>
>Bojan
>
>
>--
>To unsubscribe, e-mail:   
><mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:tomcat-dev-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message