journalctl --vacuum-time

I tried:

journalctl --vacuum-time=2d

journalctl --vacuum-time=2days

Vacuuming done, freed 0B of archived journals on disk.

I still have logs entries going back 10 days.
The computer has been restarted.

People have noted the same problem, even with systemd 231.

Is this a systemd bug or something that needs to be implemented by openSUSE?

Running:


journalctl --rotate
journalctl --vacuum-time=2d

Deleted archived journal /var/log/journal/…/user-1000@…journal (23.8M).
Vacuuming done, freed 23.8M of archived journals on disk.

Now it only goes back to yesterday.

Total cleaning

sudo journalctl --vacuum-time=1seconds 

Thanks; I forgot to mention I was logged in as root.


More info: https://www.freedesktop.org/software/systemd/man/journalctl.html#--vacuum-size=