On Sun, 03.02.13 21:18, Steven Hiscocks (steven-syst...@hiscocks.me.uk) wrote:
> Hi, > > I've been developing a python module for accessing the journal, > using the journal API. (https://github.com/kwirk/pyjournalctl) > > One issue I've had is with 'sd_journal_seek_monotonic_usec'. When > called, followed by call to 'sd_journal_next', I end up at the start > of the journal. Which boot id argument did you pass to sd_journal_seek_monotonic_usec? You need to pass a valid one, otherwise it will seek to the "closest" area, which might be the head actually Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel