test: Update fwd.sh to ignore kernel logs
With the new support for /dev/kmsg the tests can run on a system that already has a syslog daemon, and still receive all kernel messages. We want to ignore those in this (all?) tests and focus on the forwarding of messages between two sysklogd. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
5a42a72721
commit
dbdc1cdf91
@ -13,7 +13,8 @@ ntp.* @127.0.0.2:${PORT2} ;RFC5424
|
||||
EOF
|
||||
|
||||
cat <<EOF >${CONFD2}/50-default.conf
|
||||
*.* ${LOG2} ;RFC5424
|
||||
kern.* /dev/null
|
||||
*.*;kern.none ${LOG2} ;RFC5424
|
||||
EOF
|
||||
|
||||
../src/syslogd -a 127.0.0.2:* -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} -m1 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user