How to clear the systemd journal log on Linux
You can use the following commands, as superuser, to clear the systemd logs:
Keep the last 7 days:
journalctl --vacuum-time=7d
Keep the last 100Mb:
journalctl --vacuum-size=100M