[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: [systemd-devel] [PATCH 2/2] journalctl: print correct timespan in verify
From: lennart () poettering ! net (Lennart Poettering)
Date: 2012-09-24 13:05:00
Message-ID: 20120924130500.GA13365 () tango ! 0pointer ! de
[Download RAW message or body]
On Sat, 22.09.12 21:45, Mirco Tischler (mt-ml at gmx.de) wrote:
Hey!
> The old code used a timestamp to print a timespan for unsealed journalfiles,
> incorrectly showing things like 2230 days of unsealed entries. Print the timespan
> between the first and last entry instead.
I commited your code, but then reworked it a little, so that we actually
always return the first entry timestamp in the file from
journal_file_validate(), so that we don't have to fetch it ourselves in
journalctl.c. This also fixes a missing LE conversion.
Thanks!
Lennart
--
Lennart Poettering - Red Hat, Inc.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic