Date: Tue, 1 Sep 1998 19:15:31 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: tlambert@primenet.com (Terry Lambert) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: default syslog priority for kernel messages Message-ID: <199809020215.TAA00488@bubba.whistle.com> In-Reply-To: <199809020040.RAA09710@usr01.primenet.com> from Terry Lambert at "Sep 2, 98 00:40:44 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert writes: > > IMHO, printf() in the kernel should be deprecated in favor of log(). > > The only problem is that it's possible to printf from the kernel > without logging, and it may frequently be desirable to send a message > to the console without logging it. So then kill syslogd. Here is the comment in the code: /* * Log writes to the log buffer, and guarantees not to sleep (so can be * called by interrupt routines). If there is no process reading the * log yet, it writes to the console also. */ -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020215.TAA00488>