Add useful logging example (#11742)

I never knew it's possible to set per-script log level for python scripts so I think it's worth at least to add such an example to this page
This commit is contained in:
akasma74 2020-01-14 19:59:17 +00:00 committed by Franck Nijhof
parent 2a60a44b5e
commit 25c5fb48d5

View File

@ -47,6 +47,12 @@ logger:
# log level for MQTT integration
homeassistant.components.mqtt: warning
# log level for all python scripts
homeassistant.components.python_script: warning
# individual log level for this python script
homeassistant.components.python_script.my_new_script.py: debug
# log level for SmartThings lights
homeassistant.components.smartthings.light: info