Subject: Re: newsyslog and apache
To: Peter Seebach <seebs@plethora.net>
From: Chris Pinnock <cjep@srv79.server4me.com>
List: netbsd-help
Date: 07/04/2003 11:55:17
On Fri, Jul 04, 2003 at 04:11:38AM -0500, Peter Seebach wrote:
> I'm at wits' end here.
>
> /var/log/httpd/access_log 640 7 * 168 ZBN /var/run/httpd.pid SIGUSR1
> /var/log/httpd/error_log 640 7 * 168 ZBN /var/run/httpd.pid SIGUSR1
>
> These two lines, it seems to me, ought to cause my httpd log files to get
> rotated.
>
> They do.
Don't gzip your .0 file. Apache may still write to it for a while after the SIGUSR1.
best wishes,
Chris