Date: Tue, 07 Jun 2011 19:57:30 +0000 From: "Dieter BSD" <dieterbsd@engineer.com> To: hackers@freebsd.org Subject: Testing a change to printf(9) Message-ID: <20110607195735.198110@gmx.com>
next in thread | raw e-mail | index | archive | help
I've been working on fixing problems with printf(9), log(9) and related functions. Today I tried converting printf(9) to write to the log rather than directly to the console, unless the log is not open, in which case the message is also sent to the console. Printf(...) is now the same as log(LOG_INFO, ...). I commented out the line in /etc/syslog.conf that sends some log messages to the console. In multiuser mode, normal printfs go to log, but not the console, as expected. Bootup messages, shutdown messages, and panic messages all show up on the console as expected. Are there any other special cases to test?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110607195735.198110>