Skip to content
Snippets Groups Projects
Commit a430788b authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Adapt to new format of logs

parent c6a491bd
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ cp /tmp/logs.last.sha1 "$TMPFILE" || true
cat /var/log/messages
) | \
/usr/bin/whatsnew /tmp/logs.last.sha1 | \
grep "^[^ ][^ ]* *[0-9][0-9]* *[0-9:][0-9:]* [^ ][^ ]* *\($DAEMONS\)\(\[[0-9]*\]\|\):" | \
grep "^[^ ][^ ]* *[a-z][a-z]* *\($DAEMONS\)\(\[[0-9]*\]\|\):" | \
tail -n 10000 | \
curl --compress --cacert "$CERT" -T - "$BASEURL$RID" -X POST
mv "$TMPFILE" /tmp/logs.last.sha1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment