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

Filter the log messages to send

So the old ones are not sent again.
parent 111eb188
No related branches found
No related tags found
No related merge requests found
......@@ -11,5 +11,6 @@ RID=12345
# Grep regexp: Month date time hostname something.something daemon
logread | \
/usr/bin/whatsnew /tmp/logs.last.sha1 | \
grep "^[^ ][^ ]* *[0-9][0-9]* *[0-9:][0-9:]* [^ ][^ ]* [a-z][a-z]*\.[a-z][a-z]* \($DAEMONS\)\(\[[0-9]*\]\|\):" | \
curl -T - "$BASEURL$RID" -X POST
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