[systemd-devel] default journal retention policy
Chris Murphy
lists at colorremedies.com
Thu Dec 22 17:59:07 UTC 2022
On Thu, Dec 22, 2022, at 11:00 AM, Lennart Poettering wrote:
> On Do, 22.12.22 10:56, Chris Murphy (lists at colorremedies.com) wrote:
>> Still another idea, we could add a new setting MinRetentionSec=90day
>> which would translate into "not less than 90 days" and would only
>> delete journal files once all the entries in a journal file are at
>> least 90 days old.
>
> Well, that naming would suggest it would override the size
> constraints, and it shouldn't. But yeah, ignoring the choice of name I
> think it would make sense to add that. Add an RFE.
Yeah I'm not sure what to call it. LessRetentionSec or PrefRetentionSec add jargon, but maybe that's adequately dealt with by updating the journald.conf man page?
--
Chris Murphy
More information about the systemd-devel
mailing list