How to change journalctl log location

Viewed 9

I am currently working on a Ubuntu 16.04 system protected by fsprotect and unable to store previous boot log.

I can change the journals.conf used by the system (the one in /fsprotect/system of course) to set Storage to auto or persistent.

The logs created will however still be created in /var/log/ and erased at each boot by fsprotect. I have a folder immune to this and I would like to change the default log directory to my /not-protected/ folder.

Is there a way to do so?

0 Answers
Related