From d198a49ecfe43da7a2804fc2dad7e7c4ddacd573 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Tue, 19 Jan 2021 10:44:24 +0100 Subject: [PATCH] docs: eport logs (#265) --- 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.