[OpenAFS-devel] rethinking log rotation

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 28 Jan 2015 11:03:20 -0500


On Wed, 28 Jan 2015 10:34:57 -0500
Michael Meffie <mmeffie@sinenomine.net> wrote:

> The bosserver now supports an option to save the pid of the server
> processes to a file. This should make it easy for sites to send the
> signal to reopen the log file and get a new file handle after the server
> log file was renamed by the external log rotation program.

You could actually make bosserver forward the 'reopen the logs' signal
to the various processes.  logrotate certainly supports this for httpd
-- it has at least two log files that need rotated on the same signal.

That would almost be elegant.