On 04/06/2015 04:11 PM, Poul-Henning Kamp wrote:
--------
In message <2033248.eu3rhs8...@ralph.baldwin.cx>, John Baldwin writes:

I think phk@ 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@ (cc'd) has a reason for not wanting to
do this.
The reason was systems not running syslog having slow serial consoles.


Correct me if I've misunderstood, but that doesn't seem to matter here; the proposed change adds logging to the message buffer but leaves logging to the console (when no syslog is listening) unchanged.

Eric
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to