Make journald logfiles smaller

Here is the command how you can quickly vacuum your journalctl logfiles. This might be handy when test server's disk is getting full and logfiles are not needed

This will permanently delete logfiles. Please know what you are doing. 

This will save last 200 MB of journald logfiles

sudo journalctl --vacuum-size=200M

Comments