On Mon, 16 Sep 2024, 09:51 Andrea Janna, <[email protected]>
wrote:

>
>
> When logcheck is invoked with -t flag it should not update the offset of
> the log files. This works for regular log files but the flag is ineffective
> (the offset is updated anyway) when logcheck reads the log from systemd
> journal.
> The attached patch fixes this problem.


Thanks. Patch looks good, against current code (i didnt test)

( id actually prefer if the journal checking used --since rather than an
offsetfile, as there is currently a small chance of missing entries )

it would be nice to be able to be able to ask to  "recheck the last x
hours" of the journal as well as what -t currently does

Reply via email to