Change logging path to USB drive?

Functionality and usage of the OpenNethome Server
Post Reply
stefangsbb
Site Admin
Posts: 313
Joined: Sun Nov 30, 2014 2:16 pm

Re: Change logging path to USB drive?

Post by stefangsbb »

Yes, in the logFile-field, you can give an absolute path to the file. So if the path to the USB-drive is /dev/sdc, you can for example specify the log file
as: /dev/sdc/logs/loutside.log
stefangsbb
Site Admin
Posts: 313
Joined: Sun Nov 30, 2014 2:16 pm

Re: Change logging path to USB drive?

Post by stefangsbb »

It is the logFile-field in the sensor that should specify the full path to the log file for the sensor. You have to make sure that the user "nethome" has write access to the specified directory, so it can create and update the files there. This seems to be your current problem.

The logFile-field in settings, is to log event statistics for the server.
stefangsbb
Site Admin
Posts: 313
Joined: Sun Nov 30, 2014 2:16 pm

Re: Change logging path to USB drive?

Post by stefangsbb »

Hmm, strange - could it be that rights are missing on the path there?
Try to log in as nethome:

Code: Select all

sudo su - nethome
and go to the location an create/modify files, that might give some ideas why it is failing
Post Reply