]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: when dumping journal contents, react nicer to lines we can't read
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 19:43:12 +0000 (21:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 10:00:03 +0000 (12:00 +0200)
commitd00f1d57cc326231e7003340056f4fbcf056674c
treefd7f5be33174370fd3d46ff14cb49302d8838021
parent50809d7a9c986f78d8b8872098e4880aa8ff2076
journal: when dumping journal contents, react nicer to lines we can't read

If journal files are not cleanly closed it might happen that intermediaery
journal entries cannot be read. Handle this nicely, skip over the unreadable
entries, and log a debug message about it; after all we generally follow the
logic that we try to make the best of corrupted files.
src/shared/logs-show.c