From owner-freebsd-current@FreeBSD.ORG Thu May 14 18:48:59 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 7AD00106566B; Thu, 14 May 2009 18:48:59 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp7.server.rpi.edu (smtp7.server.rpi.edu [128.113.2.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3628FC22; Thu, 14 May 2009 18:48:58 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp7.server.rpi.edu (8.13.1/8.13.1) with ESMTP id n4EImuTe012654; Thu, 14 May 2009 14:48:57 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <200905132157.14906.mel.flynn+fbsd.current@mailing.thruhere.net> References: <4A09F850.2080208@freebsd.org> <200905132157.14906.mel.flynn+fbsd.current@mailing.thruhere.net> Date: Thu, 14 May 2009 14:48:55 -0400 To: Mel Flynn , freebsd-current@FreeBSD.org From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.10 () [Hold at 20.00] COMBINED_FROM X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.227 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: Thu, 14 May 2009 18:49:00 -0000 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. -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA