Option 1: To get debug logs in a GUI installation, open deCONZ and click
Help. After that, click
Debug View. The following debug levels need to be enabled for proper logging:
Please note that in the HA Addon and Docker webVNC you can’t copy paste. You need to use a Native VNC Client. HA Addon How-To, Docker Environment Vars.
Option 2: To get debug logs in a headless installation / ssh session, use the following commands:
sudo systemctl stop deconz-gui
sudo systemctl stop deconz
/usr/bin/deCONZ -platform minimal --dbg-aps=2 --dbg-info=2 --dbg-error=2 | tee debug.txt
When done, exit the process with
CTRL+C. You can now start the systemctl service again. Your logs will be printed in the console, as well as saved to a file named
debug.txt in the current directory. Be sure to capture at least a few minutes worth of logs. When sharing these logs, DO NOT attempt to paste them into a channel. Instead use a pastebin service such as this or this. Afterwards, don’t forget to disable logging. This is especially important when running off an SD card, as the debug logging will cause unnessecary writes, and might shorten the life of your media.
Command .debuglogs was invoked by Mimiix#13