Set up persistent logging

This articles helps the user to set up persistent logging in Linux, ensuring that the logs are saved over server restarts and shutdowns.

By default ggRock does not force your Debian Server to persist the logs over reboots. This means that if anything goes wrong you might not be able to submit these logs for us to look at.

To prevent that and make sure your logs are saved over restarts, please enter these two commands in your terminal:

sed -i 's/#Storage.*/Storage=persistent/' /etc/systemd/journald.conf systemctl restart systemd-journald.service

 

We recommend you to Access Debian Control Panel to do that.