Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vacuum as routine task #123

Closed
arlt opened this issue Oct 24, 2019 · 1 comment
Closed

vacuum as routine task #123

arlt opened this issue Oct 24, 2019 · 1 comment

Comments

@arlt
Copy link

arlt commented Oct 24, 2019

I would like to clean up entries older than n days.
A cleanup option $vacuum_time='35d' which results in a daily cron entry

journalctl --vacuum-time=35d 

would be fine.
One could consider --vacuum-size and --vacuum-files, too.

@arlt
Copy link
Author

arlt commented Oct 24, 2019

seems that the configuration option

MaxFileSec=1d
MaxRetentionSec=35d

is the solution

@arlt arlt closed this as completed Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant