test: Extend API test with logger verifing structured data
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
cc96379252
commit
172ae92887
@ -37,3 +37,8 @@ sleep 2
|
||||
ps fax |grep -A2 syslogd
|
||||
grep "troglobit - MSGID - ${MSG}" ${LOGV1} || (echo "== ${LOGV1}"; tail -10 ${LOGV1}; echo "== ${LOG}"; tail -10 ${LOG}; cat ${CONFD}/v1.conf; false)
|
||||
|
||||
echo "= Phase 4 - Verify RFC5424 API with logger(1) ==========="
|
||||
../src/logger -p ftp.notice -u ${SOCK} -m "MSDSD" -d '[exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"]' "waldo"
|
||||
sleep 2
|
||||
grep "exampleSDID@32473" ${LOGV1} || (echo "== ${LOGV1}"; tail -10 ${LOGV1}; false)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user