On Wednesday 12 February 2003 22:45, Peter J. Holzer wrote:
On 2003-02-12 22:37:14 +0100, Peter Bieringer wrote:
I've done this, but now kernel messages will appear on console now also (thanks to serial console support...) at same time like in defined file.
Why?
man klogd:
By default the klogd daemon executes a system call to inhibit all kernel messages (except for panics) from being displayed on the console.
(actually, I think newer versions of klogd don't do that anymore by default, but the startup scripts probably called it with a sensible value for the -c flag)
syslog-ng doesn't do that, so you have to write the right value(s) to /proc/sys/kernel/printk yourself.
Add the line dmesg -n1 to the boot-script before starting syslog-ng Achim