Early use of log() does not end up in kernel msg buffer

Eric van Gyzen vangyzen at FreeBSD.org
Fri Mar 27 13:06:40 UTC 2015

On 03/26/2015 23:20, Eric Badger wrote:
> Using log(9) when no process is reading the log results in the message
> going only to the console (contrast with printf(9), which goes to the
> console and to the kernel message buffer in this case). I believe it is
> truer to the semantics of logging for messages to *always* go to the
> message buffer (where they can eventually be collected and in fact put
> into a logfile). I therefore propose the attached patch, which sends
> log(9) to the message buffer always, and to the console only if no one
> has yet opened the log.

This makes sense to me.  Since I'm new here, I'll wait for others to


More information about the freebsd-current mailing list