NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48460 (Minor man page enhancement for newsyslog(8))

The following reply was made to PR bin/48460; it has been noted by GNATS.

From: David H.Gutteridge <>
Subject: Re: bin/48460 (Minor man page enhancement for newsyslog(8))
Date: Fri, 20 Dec 2013 10:54:43 -0500

 On 2013-12-20, at 5:14 AM, wrote:
 > Synopsis: Minor man page enhancement for newsyslog(8)
 > State-Changed-From-To: open->closed
 > State-Changed-By:
 > State-Changed-When: Fri, 20 Dec 2013 10:14:39 +0000
 > State-Changed-Why:
 > Committed, thanks.
 This is very embarrassing, but I got it backwards; I missed a
 reference in the code further down. An ngen value of zero doesn't
 preserve any log files at all, which is more intuitive. Whether
 that's worth documenting, I don't know. (The reason I was looking at
 this was because I was trying to see how to indefinitely preserve
 archived chunks of a log file, where storage isn't an issue. It
 appears -- unless I've misread something again -- that any negative
 value supplied will have that effect, but I'm not sure that's by
 design, rather it could be undocumented behaviour that should stay
 that way...)
 (Another piece of trivia is that if one reduces the number of archive
 files specified to retain, it seems it doesn't clean up any past the
 new expected count of them. I can see why that's the case, given the
 complexity of trying to guess past that point.)
 I think this should just be reverted... Sorry for wasting your time!
 I can try and redeem myself on this one by spending more time with it
 and see if I find anything of note for the man page.

Home | Main Index | Thread Index | Old Index