Re: Log rotation


Subject: Re: Log rotation
From: andrew morgan (morgan@orst.edu)
Date: Thu Sep 07 2000 - 12:41:17 EDT


On Wed, 6 Sep 2000, Marc J. Miller wrote:

> The logs have to be stopped for daily rotation and then continued afterward. My logrotate.d/netatalk file is as follows; tell me if I'm doing this right (it's based on the Samba log rotate files):
>
> /var/log/netatalk {
> notifempty
> missingok
> postrotate
> /usr/bin/killall -HUP afpd
> endscript
> }

Sending a single HUP to afpd will disable logins. Sending two HUPs will
tell afpd to reload its config files. If your afpd logs are really being
handled by syslog, then you should killall -HUP syslog, not afpd.

        Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:07 EST