From 8aef8048ddec6ee4f4cf572ccb724983f98061ac Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Mon, 18 Jan 2021 18:08:10 +0100 Subject: [PATCH] docs: eport logs --- docs/_sidebar.md | 1 + docs/troubleshooting/logs_export.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 docs/troubleshooting/logs_export.md diff --git a/docs/_sidebar.md b/docs/_sidebar.md index adb1305a34..3724f7ec1e 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -28,6 +28,7 @@ - Troubleshooting - [Exporting Node Json](troubleshooting/node_export.md) + - [Exporting Logs](troubleshooting/logs_export.md) - [Screenshots](screenshots.md) - [Thanks](thanks.md) diff --git a/docs/troubleshooting/logs_export.md b/docs/troubleshooting/logs_export.md new file mode 100644 index 0000000000..a51213c899 --- /dev/null +++ b/docs/troubleshooting/logs_export.md @@ -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_.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.