journal: when we encounter a broken journal file, add some debug logging
authorLennart Poettering <lennart@poettering.net>
Tue, 11 Oct 2016 17:12:41 +0000 (19:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2016 18:25:20 +0000 (20:25 +0200)
commit202fd896e516bbd7379bf2e2bcc224d3ec2356cd
treefbd60aa356e53db6a4a2b6aa74c918f72f89b436
parentec02a6c90a5d8b234db534ce3f8f1901f8532057
journal: when we encounter a broken journal file, add some debug logging

Let's make it easier to figure out when we see an invalid journal file, why we
consider it invalid, and add some minimal debug logging for it.

This log output is normally not seen (after all, this all is library code),
unless debug logging is exlicitly turned on.
src/journal/journal-file.c
src/journal/journalctl.c