This is already done: take a look at include/linux/kernel.h. There are
two problems with this, however:
1) Many kernel error messages don't have a KERN_* on them. (I just checked
with some greping: there are 17640 printk's in .c files, of which 4331
have KERN_: only about a quater.)
2) Syslogd (every version that I've used, anyway) dosn't display severities,
it mearly files them to the proper logfiles baised on them. So if there
is a file containing all kernel messages (as is common) or all messages
(which I put on /dev/tty12), the user will never see the severities.
-=- James Mastros
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu