From owner-freebsd-current@FreeBSD.ORG Sat May 16 13:28:42 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F5CF1065670; Sat, 16 May 2009 13:28:42 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 470D88FC0A; Sat, 16 May 2009 13:28:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id EAF0E7E837; Sat, 16 May 2009 05:28:39 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Sat, 16 May 2009 15:28:37 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <200905132157.14906.mel.flynn+fbsd.current@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905161528.37502.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Tim Kientzle , Dmitry Morozovsky , Garance A Drosehn Subject: Re: newsyslog(8) patch for both size and time checks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 13:28:42 -0000 On Thursday 14 May 2009 20:48:55 Garance A Drosehn wrote: > At 9:57 PM +0200 5/13/09, Mel Flynn wrote: > >On Wednesday 13 May 2009 00:29:36 Tim Kientzle wrote: > >> If compatibility is essential, perhaps we could > >> add a new flag to control this behavior. (I would > >> argue for changing the default and providing a flag > >> to obtain the old behavior.) > > > >Fine on the flag, maybe mergemaster could be a little more assisting in > > this case, since I'm not looking forward to "just adding a flag". Like > > mergemaster -p could auto-upgrade the lines that have both columns with > > values? > > Somewhere on one of my machines, I started on a update which made > it pay attention to multiple lines, and "or" those. So: > > /var/log/dhcpd 640 5 5000 * JC > /var/log/dhcpd " " * @T00 JC > > would mean "rotate if either condition is true". My thinking was > that I might also like to: > > /var/log/dhcpd 640 5 1000 @T00 JC > /var/log/dhcpd " " 5000 * JC > > That would say that I *generally* prefer that the log is rotated at > midnight, but if something goes wild during the day then let's start > rotating them faster. Thanks for your work on this. This looks like the best solution to me and clear to read. -- Mel