From owner-cvs-src@FreeBSD.ORG Fri Mar 31 15:06:04 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8A516A420; Fri, 31 Mar 2006 15:06:04 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E75743D48; Fri, 31 Mar 2006 15:06:02 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 31 Mar 2006 14:03:59 +0100 (BST) Date: Fri, 31 Mar 2006 14:03:50 +0100 From: David Malone To: Robert Watson Message-ID: <20060331130350.GA12317@walton.maths.tcd.ie> References: <200603302104.k2UL4qF7086165@repoman.freebsd.org> <20060331080654.GB776@turion.vk2pj.dyndns.org> <20060331090421.I9972@fledge.watson.org> <20060331100440.GA12785@garage.freebsd.pl> <20060331103033.F88223@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060331103033.F88223@fledge.watson.org> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: src-committers@FreeBSD.org, Pawel Jakub Dawidek , Peter Jeremy , "Christian S.J. Peron" , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 15:06:04 -0000 On Fri, Mar 31, 2006 at 10:32:13AM +0000, Robert Watson wrote: > The trick will be balancing flexibility with complexity for the > administrator. -s foopercent is easy for an administrator to understand, > and conditional logging of message types based on percentage is not. I can > imagine a useful middle ground on the order of -s info,80 or such, which > means don't log info and lower when about 80%, but we'd need to think a > little carefully about how to present this sort of thing so it's useful as > opposed to simply confusing. :-) Since the logfiles don't all have to be on the same filesystem, it is probably wrong to do this as a command line option. If you were going to do it, it should probably be a per-logline option, like calling fsync. It isn't too late to claim the "%" character as magic in syslog.conf ;-) David.