await_next_record
seems to return old records while triggering on new records. #66
Open
Description
In my executable one my my threads basically does:
let mut log = Journal::open(systemd::journal::JournalFiles::All, true, true)
.expect("unable to open systemd journal");
loop {
if let Ok(Some(record)) = log.await_next_record(None) {
... send the record somewhere
}
}
and apparently this triggers on new log entries, but returns one old new entry each time (i.e. I see it displaying kernel boot entries, one line at a time, instead of what is happening now).