journal: Fix journal dumping for json, cat and export output
authorArmin Widegreen <armin.widegreen@stoneridge.com>
Thu, 11 Jan 2018 11:42:56 +0000 (12:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Jan 2018 17:08:52 +0000 (18:08 +0100)
commit4f5e1723410513da418fbbae03c23b1b2cc4db82
treef177fea8c1fe9526ebf59dc45952b2c3cda81640
parent204d140c4def364c47d36226e4514a7e077fa196
journal: Fix journal dumping for json, cat and export output

Incorporating the fix from d00f1d57 into other output formats of journalctl.

If journal files are corrupted, e.g. not cleanly closed, some journal
entries can not be read by output options other than 'short' (default).
If such entries has been identified, they will now just be skipped.
src/shared/logs-show.c