Subject: Re: newsyslog
To: Andy Doran <ad@netbsd.org>
From: Cillian Sharkey <cns@psn.ie>
List: tech-userlevel
Date: 07/11/2000 16:35:23
2 suggestions:
1) Have an option to exec a program after rotating a logfile, with the first
argument of the program being the name of the rotated logfile. This could
be used for logfile parsing (e.g. 'logtail'). The logfile would have to
be uncompressed at this stage of course.
2) For multiple logfiles belonging to the same process, does newsyslog end
up HUP'ing the process for each log file? Perhaps, HUP'ing once would be
better?
[ Although having said that, most programs usually have their own log
rotation program to rotate all the logfiles they generate ]
--
Cillian