On Jan 28, 2015, at 11:03 AM, chas williams - CONTRACTOR <[email protected]> wrote:
> 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. This. Logrotate already has the tools to make this happen in a safe manner (no data loss). But it requires a command-line interface so logrotate can tell the application to simply close and re-open the log file. It works for [r]syslogd, httpd, etc, etc. A bos command that tells the running *server utils to close/reopen the logs is all that's needed. I am *strongly* opposed to building our own log rotation stuff inside bos/etc; ultimately you wind up replicating what logrotate already does for you. And usually in a less flexible manner. _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
