ravas
1
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?
ravas
2
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
ravas
4