systemd/python-systemd

How to get the start and end date of journal files in Python?

GreatBahram opened this issue · 2 comments

Hello there,
I was reading the journalctl source code and realized there is this sd_journal_get_cutoff_realtime_usec which provides the start and end date of journal files, How can I get that result in Python?

Any suggestion?

Fixed by #92.