Re: MaxRetentionSec does not delete entries older than the specified time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29.05.2022 12:04, baba wrote:
> In my /etc/systemd/journald.conf, I have:
> Storage=persistent
> MaxRetentionSec=3day
> 
> And it doesn't delete entries older that 3 days:
> 

Retention does not delete *entries*. It deletes archived journal files.

...

> 
> In this case is the journal daemon automatically archive active journal files or 
> I need to do it manually with the --rotate option?

In which case? Current active journal file gets archived when it is
full. Retention policies apply only to these archived files.

Of course you can force rotation manually if you need.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux