mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Minor change to documentation for logger component
This commit is contained in:
parent
ebc95aca51
commit
fd50693ca7
@ -8,13 +8,21 @@ https://home-assistant.io/components/logger.html
|
|||||||
|
|
||||||
Sample configuration
|
Sample configuration
|
||||||
|
|
||||||
|
# By default log all messages and ignore log event lowest than critical for custom omponents
|
||||||
logger:
|
logger:
|
||||||
default: critical
|
default: info
|
||||||
logs:
|
logs:
|
||||||
homeassistant.components: debug
|
|
||||||
homeassistant.components.device_tracker: critical
|
homeassistant.components.device_tracker: critical
|
||||||
homeassistant.components.camera: critical
|
homeassistant.components.camera: critical
|
||||||
|
|
||||||
|
# By default ignore all messages lowest than critical and log event for custom components
|
||||||
|
logger:
|
||||||
|
default: critical
|
||||||
|
logs:
|
||||||
|
homeassistant.components: info
|
||||||
|
homeassistant.components.rfxtrx: debug
|
||||||
|
homeassistant.components.device_tracker: critical
|
||||||
|
homeassistant.components.camera: critical
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
Loading…
x
Reference in New Issue
Block a user