How do I redirect my logs to a file?
1. To redirect the logs to a file, stop your Node:
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 the config.yaml?):
You can find resulting log in the storage location.
3. Start your Node again:
When you use this option, docker logs commands no longer show your node log. Use the file instead.