[systemd-devel] python - reading the journal

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Feb 12 21:00:22 PST 2013


On Wed, Feb 13, 2013 at 04:37:34AM +0100, Lennart Poettering wrote:
> On Mon, 04.02.13 18:30, Steven Hiscocks (steven-systemd at hiscocks.me.uk) wrote:
> 
> > So if I understand correctly, a _BOOT_ID match must be in place for
> > sd_journal_seek_monotonic_usec to function correctly?
> 
> No really, it should suffice to just pass the valid boot id to
> _seek_monotonic(). Are you saying that doesn't work? If so, that'd be a
> bug to fix.
Hm, it seems that I gave bad advice to Steven regarding _BOOT_ID.
I now tested without setting _BOOT_ID, just using the second argument
to _seek_monotonic(), and everything seems to work fine. And the
code also looks correct.

Zbyszek

PS. Steven: any comments on the last proposed changes?


More information about the systemd-devel mailing list