Subject: Re: newsyslog
To: Andy Doran <>
From: Bill Sommerfeld <>
List: tech-userlevel
Date: 07/11/2000 09:43:50
> 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

> Finally, locking. We don't want logs to get mangled, so some form of
> serialization needs to be done. So far I'm thinking create a lock like:
> /var/tmp/.newsyslog-lock.var.log.messages
> or
> /var/log/.lock.messages

How will you recover from stale locks if the system crashes while
running newsyslog?

(hint: this is what /var/run is for.. :-) )

					- Bill