NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Disable kernel messages on the console



On 2018-06-27 17:25, Cág wrote:
Hi,

Is it possible to completely disable kernel messages on the console
(they are green by default)? "boot -q" reduces verbosity, but "boot -z"
doesn't disable them, instead reducing verbosity of init (white on black by default). Setting kern.messages to 0 with sysctl doesn't seem to help
either.

Thanks!

Edit /etc/syslog.conf and change the destination for anything writing to /dev/console to write to a file, like maybe /var/log/console.

Then kill -HUP `head 1 /var/run/syslog.pid`

You will probably also want to add that file to your newsyslog.conf to have it rotated periodically.

--
Michael Parson
Pflugerville, TX
KF5LGQ



Home | Main Index | Thread Index | Old Index