Date: Sun, 25 Jan 2004 16:46:46 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <200401260046.i0Q0kkPm023022@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401260046.i0Q0kkPm023022>
