-
Notifications
You must be signed in to change notification settings - Fork 22
Debug Logging in Home Assistant
shbatm edited this page Feb 16, 2023
·
1 revision
When submitting issues or feature requests, it's important to provide any relevant logs--not only just the error messages, but enable debug logging to capture the details leading up to the error.
There are a few ways to enable debug logging in Home Assistant for PyISYoX and the ISY/IoX Integration:
- Enable it in your
configuration.yaml
file (or other yaml package file). This will persist across reboots.
logger:
default: info
logs:
homeassistant.components.isy994: debug
pyisy: debug
- Enable it by calling the
logger.set_level
Service.
service: logger.set_level
data:
homeassistant.components.isy994: debug
pyisy: debug
https://www.home-assistant.io/integrations/logger/#viewing-logs
Please make sure to use a code block, or save and attach as a text file, when sharing the logs in an issue:
```
Log details go here.
```