How to change location of system log

Hello, I’d like to ask for some help in changing the location of the system log from RAM to an external drive (in my case its an mSATA SSD) so that the logs are not lost when the router reboots.

I need this to try to figure what causes the random reboots of the router which is getting annoying.

If someone could provide a solution , this could be added to the official omnia documentation “how to report bugs”.


You can set another destination in /etc/syslog-ng.conf. Just copy line containing file("/var/log/messages"... to new line underneath and change path to point somewhere to your external drive. Then just restart syslog /etc/init.d/syslog-ng restart.

I will pass this to our support if they don’t want to add this to documentation.