-
Notifications
You must be signed in to change notification settings - Fork 92
Debugging
Clayton Nummer edited this page Apr 7, 2019
·
1 revision
To turn on debug logging, add the following to your configuration.yaml
file:
logger:
logs:
custom_components.circadian_lighting: debug
custom_components.circadian_lighting.sensor: debug
custom_components.circadian_lighting.switch: debug
The log information are stored in the
configuration directory as home-assistant.log
and you can read it with the command-line tool cat
or follow it dynamically
with tail -f
.
If you are a Hassbian user you can use the example below:
$ tail -f /home/homeassistant/.homeassistant/home-assistant.log
If you are a Hass.io user, you can use the example below, when logged in through the SSH add-on:
$ tail -f /config/home-assistant.log