As described in the title. It would be a helpful feature to free up some storage space on the region controller.
In 3.5 the logs are collected in journal and it’s up to the user to manage that
1 Like
@maasuser1 as @r00ta said, since 3.5 you may just try to determine what logs retention (time) or size suits you best. See the official docs
--vacuum-size= removes the oldest archived journal files until the disk space they use falls below the specified size. Accepts the usual "K", "M", "G" and "T" suffixes (to the base of 1024).
--vacuum-time= removes archived journal files older than the specified timespan. Accepts the usual "s" (default), "m", "h", "days", "weeks", "months", and "years" suffixes, see systemd.time(7) for details.
also for pernament settings here
In example:
# Set the maximum size of the journal logs in bytes
SystemMaxUse=5G
# Set the time after which logs will be deleted
MaxRetentionSec=1month
1 Like
Thank you guys for the explanation!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.