On Sunday 25 November 2001 01:49, Dima Dorfman wrote: > Peter Wemm <[EMAIL PROTECTED]> wrote: > > Bruce Evans wrote: > > > - syslogd: the name of the kernel file is used as a > > > prefix. If I kept kernels in the standard place, then I > > > would have complained about the bloatage of syslogd output > > > caused by renaming the kernel from /kernel to > > > /boot/${NAME_OF_MY_KERNEL}/kernel > > > > It used to print "kernel" always, even when the kernel was > > /vmunix and on other systems when it is /bsd or /netbsd. > > I'd much rather that we went back. > > > > When syslogd starts up, it could log the value of > > kern.bootfile and kern.module_path once in the kernel log > > and just use "kernel:" for identifying kernel originated > > messages. > > The attached patch implements something like this: > > Make the default kernel prefix "kernel:" instead of the boot > file, with the old behavior available via the -o option (it > might still be useful if one has many kernels and cares which > messages came from which). If the boot file is not used as > the prefix, it is still logged once at startup. > > This change is prompted by the fact that the boot file is now > much longer ("/boot/kernel/kernel" vs. "/kernel"), which > significanlty bloats the syslogd output. > > Please review and comment. > [snip patch]
I think this is a good idea. Go for it. -- Gary Jennejohn [EMAIL PROTECTED] [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message