[OpenAFS] readonly/readwrite

Nathan Neulinger nneul@umr.edu
Thu, 01 Mar 2001 21:06:31 -0600

Russ Allbery wrote:
> Derrick J Brashear <shadow@dementia.org> writes:
> > Hartmut Reuter contributed code which when enabled (which I have not by
> > default as it may be problematic for existing installations) which as I
> > recall can rename the old log file by date, which is a minor improvement
> > over the existing situation. The problem ends up, how do you "notice"
> > when to reopen a log, if you make said log append-always? Opening,
> > logging and closing would seem to be be an inefficient way to do
> > so. Trapping a signal and dealing that way would likewise be messy.
> My preference would be for the servers to act syslogd and most other Unix
> servers that write their own log and open the log file for append, always
> open the same log name, reopen the same log file after restarting, and to
> catch a signal that tells them to close and reopen the log file.

Any particular reason not to just use syslog() period?

-- Nathan

Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
CIS - Systems Programming                Fax: (573) 341-4216