Logfile on seperate location

Tried it with this:
image

and “/mnt/disk2/Storj-Data/node.log”

Oh man. I think I understood it now…
If you put: log.output: “/app/config/node.log” in your config.yaml:
image
then the logs get saved in the mounted location, in my case:

because:

From now on its OK for me. If I want to move the file (for example monthly), I just need to stop the node, move the file und put a blank one “node.log” inside the Data folder and start the node again.

Now I have the logs in
image

1 Like

Glad its working now. I thought after I said “my bad …” you would have fixed the log.output section :slight_smile:

You understood it perfectly now. It will occupy space from data folder so you can copy it after it reaches certain size like 1GB then move it to new location. In this way you would have logs for a long duration.