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
Change logging path to USB drive?
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Change logging path to USB drive?
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.
The logFile-field in settings, is to log event statistics for the server.
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Change logging path to USB drive?
Hmm, strange - could it be that rights are missing on the path there?
Try to log in as nethome:
and go to the location an create/modify files, that might give some ideas why it is failing
Try to log in as nethome:
Code: Select all
sudo su - nethome