Date: Fri, 31 Mar 2006 14:03:50 +0100 From: David Malone <dwmalone@maths.tcd.ie> To: Robert Watson <rwatson@FreeBSD.org> Cc: src-committers@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, "Christian S.J. Peron" <csjp@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <20060331130350.GA12317@walton.maths.tcd.ie> In-Reply-To: <20060331103033.F88223@fledge.watson.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060331130350.GA12317>