You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the poll method to tail the journald log in real time. However, when the journal is rotated, I predictably stop getting the next event. I seem to be able to use the get_end() method to detect the end of the journal - so I can re-open the journal after a certain period of stale time. But I was wondering if there is a more reliably method for detecting that the journal has been rotated so I can re-open the journal right away?
Thanks for the helpful library!
The text was updated successfully, but these errors were encountered:
I'm using the poll method to tail the journald log in real time. However, when the journal is rotated, I predictably stop getting the next event. I seem to be able to use the
get_end()
method to detect the end of the journal - so I can re-open the journal after a certain period of stale time. But I was wondering if there is a more reliably method for detecting that the journal has been rotated so I can re-open the journal right away?Thanks for the helpful library!
The text was updated successfully, but these errors were encountered: