Re: klibc and logging

H. Peter Anvin (hpa@zytor.com)
Mon, 19 Aug 2002 09:58:02 -0700


Russell King wrote:
>
>>I really think this is a bad idea. The kmsg device has different
>>properties -- for example, you're supposed to tag things with the
>>message importance. It really matches the syslog(3) interface better.
>>Also, the special case makes me nervous.
>
> Without something like this, it means that effectively the "echo" command
> wouldn't be useable, or you'd have to pipe the output of all scripts
> through some program/to /dev/kmsg.
>
> Or we just forget logging the messages from initramfs scripts.
>

Either we can add a "syslog" binary, or you can:

echo '<3>The dohickey is fscked' > /dev/kmsg

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/