From owner-freebsd-arch Sun Feb 23 19:13:48 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DB7437B401 for ; Sun, 23 Feb 2003 19:13:47 -0800 (PST) Received: from smtp-relay.omnis.com (smtp-relay.omnis.com [216.239.128.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF61843FAF for ; Sun, 23 Feb 2003 19:13:46 -0800 (PST) (envelope-from wes@softweyr.com) Received: from 204.68.178.4 (66-75-151-22.san.rr.com [66.75.151.22]) by smtp-relay.omnis.com (Postfix) with ESMTP id F33D4455DD; Sun, 23 Feb 2003 19:02:57 -0800 (PST) From: Wes Peters Organization: Softweyr LLC To: Garance A Drosihn Subject: Re: NEWSYSLOG changes Date: Sun, 23 Feb 2003 19:11:14 -0800 User-Agent: KMail/1.5 Cc: arch@FreeBSD.ORG References: <20030210114930.GB90800@melusine.cuivre.fr.eu.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302231911.14264.wes@softweyr.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 20 February 2003 09:33 pm, Garance A Drosihn wrote: > At 11:35 PM -0500 2/20/03, Garance A Drosihn wrote: > >Offshoot of the "syslog.conf syntax change" thread. > > Arg. My previous message was supposed to go out with this > new subject, instead of just repeating the subject of the > thread "it was an offshoot of". Pasting from that: > What follows is part #1 of what I plan to do. This adds the > notion of a "default rotation action" to newsyslog. This > action will *only* be significant when newsyslog is run with > a specific list of filenames. > > The patch picks some plausible behavior for that default action, > but users can set a different default-action by adding a line > to newsyslog.conf which uses as the filename. This > should cause no change in behavior for the standard usage of > newsyslog (ie, run without listing specific filenames). I don't see where your patch addressed the concern Terry raised about oversize files being rolled improperly on startup. I.e. if newsyslog encounters a file that it is supposed to roll at 256K and the file is 40M long, what do you do? Possible answers include "roll only the last 256K of it" and "roll it in 256K chunks," all of which are better than "roll the entire 40M file contents, leaving the log filesystem out of space." Were you going to look into that? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message