I hadn’t noticed but my log directory was slowly growing. This is running on a digitalocean droplet.

Taken from: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs

Deleting Old Logs

If you use the –vacuum-size option, you can shrink your journal by indicating a size. This will remove old entries until the total journal space taken up on disk is at the requested size:

sudo journalctl --vacuum-size=1G

Back to a healthier size.

Comments are closed.

Post Navigation