cvs commit: src/usr.sbin/syslogd syslogd.c
Ian Dowse
iedowse at FreeBSD.org
Sun Jan 25 16:46:47 PST 2004
iedowse 2004/01/25 16:46:46 PST
FreeBSD src repository
Modified files:
usr.sbin/syslogd syslogd.c
Log:
Be much more strict about parsing tagged log messages from /dev/klog;
if the line doesn't match ^<%d>, then treat it as a regular kernel
printf line. Previously if a kernel printf message started with "<"
it would be interpreted as a log message, often with LOG_EMERG
level. This was triggered by some printfs in sys/dev/aic7xxx/, and
can also happen with the partial lines that result if syslogd cannot
keep up with the rate of arrival of kernel messages.
Reviewed by: dwmalone
MFC after: 1 week
Revision Changes Path
1.119 +20 -10 src/usr.sbin/syslogd/syslogd.c
More information about the cvs-src
mailing list