/var/log taking up WAY too much space

You can clean the logs with:

sudo logrotate -f /etc/logrotate.conf

You can increase rotation and reduce how much is stored long term by editing the configuration for it:

sudo nano /etc/logrotate.d/rsyslog

With these values:

rotate 4
size 100M
compress

For the Firewall logging, try:

sudo ufw logging low

2 Likes