December 2018
Beginner
320 pages
8h 57m
English
systemd-journal is stored in the /run/log/journal directory, which is cleared on system reboot. Its configuration file is /etc/systemd/journald.conf, which can be used to fine-tune journal parameters such as the amount of filesystem to be used for storing the journal (default value is 10%).
systemd-journal is configured in such a way that if the /var/log/journal/ directory exists in the system, then it logs journal entries in that directory instead of /run/log/journal/. The same concept is used to made systemd-journal storage persistent across reboot. The following steps are to be taken to make systemd-journal persistent:
Read now
Unlock full access