Ubuntu persistent logs

Published:
Published:

System logs can be very useful for troubleshooting issues that occur on the system. So you might want to store logs persistently across reboots.

mkdir /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal
systemctl restart systemd-journald

Rate this page