cvs commit: src/usr.sbin/syslogd syslogd.c

David Malone dwmalone at maths.tcd.ie
Fri Mar 31 15:06:04 UTC 2006


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.


More information about the cvs-src mailing list