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

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Mon, 6 Apr 2015 14:14:05 -0700
On 6 April 2015 at 14:11, Poul-Henning Kamp <phk_at_phk.freebsd.dk> wrote:
> --------
> In message <2033248.Eu3RHS8lTG_at_ralph.baldwin.cx>, John Baldwin writes:
>
>>I think phk_at_ broke this back in 70239.  Before that the log() function did
>>this:
>>
>>log()
>>{
>>
>>       /* log to the msg buffer */
>>       kvprintf(fmt, msglogchar, ...);
>>
>>       if (!log_open) {
>>               /* log to console */
>>               kvprintf(fmt, putchar, ...);
>>       }
>>}
>>
>>I think your patch is fine unless phk_at_ (cc'd) has a reason for not wanting to
>>do this.
>
> The reason was systems not running syslog having slow serial consoles.

.. and that's still a thing, btw.



-adrian
Received on Mon Apr 06 2015 - 19:14:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC