[systemd-devel] MaxRetentionSec does not delete entries older than the specified time

Barry Scott barry at barrys-emacs.org
Sun May 29 12:22:35 UTC 2022



> On 29 May 2022, at 12:36, baba <for.ad at free.fr> wrote:
> 
> ----- Mail original -----
> De: "Andrei Borzenkov" <arvidjaar at gmail.com>
> 
>> In which case? Current active journal file gets archived when it is
>> full. Retention policies apply only to these archived files.
> 
> In the case where MaxRetentionSec=3day.
> And what do you mean by full?.
> 

There are size limits on the journal files. I think that is what is being referred to.
See man journald.conf and the SystemMaxFileSize for example.

Barry


More information about the systemd-devel mailing list