On Thu, Oct 11, 2012 at 01:48:07AM +0200, Lennart Poettering wrote:
> "My laptop started acting up last tuesday, I should see
whats in the
> logs from then"
> "I'd like to run a daily report on my logs"
These two are much better implemented via explicit time seeks. The
journal APIs support that just fine, journalctl currently
doesn't. However it's trivial to add that based on the lower level APIs,
the only thing that stopped me from doing that so far is that for that
we'd have to come up with a nice way to parse calendar timestamps, and I
want to be careful about that. that said the idea is to have two command
line args to journalctl where you can pass things such as:
Not coincidentially, I filed an RFE bug for this yesterday:
https://bugzilla.redhat.com/show_bug.cgi?id=864672
Of course the time expressions for this need to be powerful enough
so
that people can trivially express things like "everything from today",
or "everything since two weeks ago" and suchlike.
+1 awesome.
--
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm(a)fedoraproject.org>