Yes, the files from /var/log/journal
directory can be removed.
The nicest method I've found is:
sudo journalctl --vacuum-size=500M
which deletes old log-files from /var/log/journal
until total size of the directory becomes under specified threshold (500 megabytes in this example).
You can also clean based on time: journalctl --vacuum-time=10d
https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr
No hay comentarios:
Publicar un comentario