RaspBerry move the log file

Hi, by default, on which path are the log files recorded?
I would still like to move them to a disk drive to avoid wear on the SDcard, what is the procedure?

Best regards.


I stopped the node, I added the following string to the config.yaml file:

log.output: /mnt/usb/storj_log/node.log

I restarted the node, but there is no log file on the path set.

What does it miss…

Don’t substitute the host filesystem location in the config.yaml setting…

It should actually be

log.output: "/app/config/node.log"

The log will then be accessible at the storage node’s configuration directory. From your post… it looks like that would be:


Perfect. It works.