You must log in or register to comment.
Cleanup
Check current disk usage:
sudo journalctl --disk-usage
Use rotate function:
sudo journalctl --rotate
Or
Remove all logs and keep the last 2 days:
sudo journalctl --vacuum-time=2days
Or
Remove all logs and only keep the last 100MB:
sudo journalctl --vacuum-size=100M
How to read logs:
Follow specific log for a service:
sudo journalctl -fu SERVICE
Show extended log info and print the last lines of a service:
sudo journalctl -xeu SERVICE
--vacuum-time=2days
this implies i keep an operating system installed for that long
Recently had the jellyfin log directory take up 200GB, checked the forums and saw someone with the same problem but 1TB instead.
2024-03-28 16:37:12:017 - Everythings fine
2024-03-28 16:37:12:016 - Everythings fine
2024-03-28 16:37:12:015 - Everythings fine