Re: Log File Rotation

2005-07-13 Thread Robert Story
On Tue, 28 Jun 2005 19:35:36 +0100 Kevin wrote: KC> According to the man page for "snmptrapd" I should be able to force it KC> to re-open its log file via a SIGHUP signal. Unfortunately it doesn't work. KC> KC> EG, if I have "snmptrapd -Lf /var/log/snmptrapd.log" the file is KC> created OK but

Log File Rotation

2005-06-28 Thread Kevin Conway
According to the man page for "snmptrapd" I should be able to force it to re-open its log file via a SIGHUP signal. Unfortunately it doesn't work. EG, if I have "snmptrapd -Lf /var/log/snmptrapd.log" the file is created OK but if I then move snmptrapd.log to snmptrapd.log.1 and "kill -SIGHUP