Subject: Re: newsyslog
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Andy Doran <ad@netbsd.org>
List: tech-userlevel
Date: 07/11/2000 15:00:13
Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> wrote:

> > The first two are: historical log file suffixes like ".YYYYMMDD" and ISO-8601
> > time spec for rotation (IIRC FreeBSD newsyslog has the latter).
> 
> How will the log file suffix transition work?  Will the old
> single-digit suffix files get reaped at the appropriate point in the
> cycle?

One point to note - those suffixes will be optional. Do we really need code
for the transition from `.n' to `.YYYYMMDD'? It'd be pretty easy to do,
based upon the mtime of the file.

> How will you recover from stale locks if the system crashes while
> running newsyslog?
> 
> (hint: this is what /var/run is for.. :-) )

Ok ok.. :)