This seems to stop syslog console messages looping. The problem
is that LOG_FAC doesn't do quite what you think it does. PR: 24704
This commit is contained in:
parent
48b4ca8e6a
commit
72311a2dd2
@ -710,7 +710,7 @@ printsys(p)
|
||||
pri = 10 * pri + (*p - '0');
|
||||
if (*p == '>')
|
||||
++p;
|
||||
if (LOG_FAC(pri) == LOG_CONSOLE)
|
||||
if ((pri & LOG_FACMASK) == LOG_CONSOLE)
|
||||
flags |= IGN_CONS;
|
||||
} else {
|
||||
/* kernel printf's come out on console */
|
||||
|
Loading…
Reference in New Issue
Block a user