Skip to content

Commit

Permalink
docs: eport logs (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Jan 19, 2021
1 parent 9c90905 commit d198a49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- Troubleshooting

- [Exporting Node Json](troubleshooting/node_export.md)
- [Exporting Logs](troubleshooting/logs_export.md)

- [Screenshots](screenshots.md)
- [Thanks](thanks.md)
Expand Down
14 changes: 14 additions & 0 deletions docs/troubleshooting/logs_export.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Logs export

The are two main loggers, one for zwavejs2mqtt and one for zwave-js module.

To help us finding what's going on, when reporting a bug, you should attach the logs coming from both loggers.

Both loggers options are configurable from the UI in `Settings`:

1. The ZwaveJS logger can be confgured in `Zwave` section, enable `Log enabled` switch and `Log To File` and set `Log Level` to `silly`
2. The zwavejs2mqtt logger can be confgured in `General` section, enable `Log enabled` switch and `Log To File` and set `Log Level` to `silly`

Now press on `SAVE` button to store the new settings and your logs will be stored in separeted files inside `store` folder. The zwavejs2mqtt log output file will be named `zwavejs2mqtt.log` and the zwavejs one `zwavejs_<processid>.log`

If you are using docker you can ssh inside the running container and/or use the `docker cp` command to download the files in the local filesystem.

0 comments on commit d198a49

Please sign in to comment.