Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Tags: lynix/journalcheck

Tags

v1.3

Toggle v1.3's commit message
Feed 'journalctl' stderr into log stream

Make errors from `journalctl` itself filterable by integrating its stdout into
stream of collected messages.

Useful for working around corrupted journal files.

v1.2

Toggle v1.2's commit message
Switch from egrep to 'grep -E'

v1.1

Toggle v1.1's commit message
filters: Update journalctl filter to match new footer

v1.0

Toggle v1.0's commit message
Use journal cursor instead of timestamp

Fix inaccuracy regarding invocation state: using the invocation timestamp
obtained from `date` is too coarse for high-frequency journal entries and might
lead to entries getting lost.

Fix by dumping the journal cursor on each invocation and re-use it as reference
for the next run. This should make journalcheck waterpoof regarding dump
integrity.