Node Operator
Search…
How do I redirect my logs to a file?
1. To redirect the logs to a file, stop your Node:
CLI Install
GUI WIndows Install
1
docker stop -t 300 storagenode
Copied!
Elevated PowerShell:
1
Stop-Service storagenode
Copied!
Or click the "Stop" button in the Windows Services applet on "Storj V3 Storage Node" service
2. Then edit your config.yaml (you can use nano or vi editor for Linux/MacOS or Notepad++ for Windows) to add (or change) the log location (see Where can I find a config.yaml?):
CLI Install
GUI Windows Install
1
log.output: "/app/config/node.log"
Copied!
You can find resulting log in the storage location.
1
log.output: winfile:///X:\Storagenode\node.log
Copied!
3. Start your Node again:
CLI Install
GUI Windows Install
1
docker start storagenode
Copied!
When you use this option, docker logs commands no longer show your node log. Use the file instead.
Elevated PowerShell:
1
Start-Service storagenode
Copied!
Or click the "Start" button in the Windows Services applet on "Storj V3 Storage Node" service
Last modified 7mo ago
Copy link