Cleanup Linux logs

I just had the case that my disk on a Linux VM ran full and I had to make space quickly. I was willing to sacrifice my journald logs in order to make the urgent update work and I was able to free up a few gigabytes of space with the following commands.

journalctl --rotate
journalctl --vacuum-time=1s

This drops all the logs and frees up space immediately.