Logs

Logs

JournalCtl

journalctl — Query the systemd journal. journalctl may be used to query the contents of the systemd journal as written by systemd-journald.service. Homepage

Show logging space

    root@edison:~# journalctl --disk-usage

Limit logging space

    root@edison:~# nano /etc/systemd/journald.conf
    SystemMaxUse=20M

Stop logging

    root@edison:~# nano /etc/systemd/journald.conf
    #Storage=persistent
    Storage=None

Remove all logs

    root@edison:~# cd /var/log/journal/
    root@edison:/var/log/journal# rm -rf *

Show logging space

root@edison:~# journalctl --disk-usage
No journal files were found.
Journals take up 0B on disk.

Last updated