You are not logged in.
How do I configure journald to keep logs of only last 5 boots ?
Last edited by userak (2019-07-04 15:32:43)
A newbie archlinux user ...
Offline
Don't think this is a tunable. See man journald.conf for more. You can set SystemMaxUse to a slow number like 50M or something.
Last edited by graysky (2019-07-04 09:55:36)
Offline
You can also specify the maximum age that journal entries/files can be saved. So if you reboot at regular intervals, you could get a close approximation to 5 boots.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks guys , I will stick to using "SystemMaxUse" option.
A newbie archlinux user ...
Offline