Add docs for logger.set_level (#2143)

This commit is contained in:
Pierre Ståhl 2017-02-27 11:32:36 +01:00 committed by Fabian Affolter
parent 2810ca5e91
commit 01ada702bb

View File

@ -54,3 +54,16 @@ Possible log severities are:
- debug
- notset
### {% linkable_title Service `set_level` %}
You can alter log level for one or several components using the service
``logger.set_level``. It accepts the same format as ``logs`` in the configuration.
An example call might look like this:
```yaml
service: logger.set_level
data:
homeassistant.components: warning
homeassistant.components.media_player.yamaha: debug
```