Subject: Re: dhcpd log rotation
To: Thierry Lacoste <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 04/05/2006 10:15:47
On Wed, 5 Apr 2006, Thierry Lacoste wrote:
> To make it log to /var/log/dhcpd my /etc/syslog.conf contains
> *.* /var/log/dhcpd
> Now I'd like to rotate /var/log/dhcpd so I put the following line
> in /etc/newsyslog.conf
> /var/log/dhcpd root:wheel 600 7 100 * Z /var/run/dhcpd.pid
> It doesn't work because kill -HUP `cat /var/run/dhcpd.pid `
> just kills the server and doesn't restart it.
Since you are using "syslog" to do the logging, you do not have to tell
dhcpd that a new log will be opened. You don't need the
Jeremy C. Reed
echo ':6DB6E88>?;@69876tAEAC8BB5tA6487><' | tr '4-E' 'wu rofIn.lkigemcal'