mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Logger integration: replace term component by integration (#27794)
This commit is contained in:
parent
be7b52035f
commit
023d6825db
@ -25,7 +25,7 @@ logger:
|
|||||||
The log severity level is `warning` if the logger integration is not enabled in `configuration.yaml`.
|
The log severity level is `warning` if the logger integration is not enabled in `configuration.yaml`.
|
||||||
|
|
||||||
To log all messages and ignore events lower than critical for specified
|
To log all messages and ignore events lower than critical for specified
|
||||||
components:
|
integrations:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -37,7 +37,7 @@ logger:
|
|||||||
```
|
```
|
||||||
|
|
||||||
To ignore all messages lower than critical and log event for specified
|
To ignore all messages lower than critical and log event for specified
|
||||||
components:
|
integrations:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -59,7 +59,7 @@ logger:
|
|||||||
# log level for SmartThings lights
|
# log level for SmartThings lights
|
||||||
homeassistant.components.smartthings.light: info
|
homeassistant.components.smartthings.light: info
|
||||||
|
|
||||||
# log level for a custom component
|
# log level for a custom integration
|
||||||
custom_components.my_integration: debug
|
custom_components.my_integration: debug
|
||||||
|
|
||||||
# log level for the `aiohttp` Python package
|
# log level for the `aiohttp` Python package
|
||||||
@ -85,7 +85,7 @@ where **namespace** is the *<component_namespace>* currently logging.
|
|||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
'<component_namespace>':
|
'<component_namespace>':
|
||||||
description: Logger namespace of the component. See [log_level](#log-levels).
|
description: Logger namespace of the integration. See [log_level](#log-levels).
|
||||||
type: string
|
type: string
|
||||||
filters:
|
filters:
|
||||||
description: Regular Expression logging filters.
|
description: Regular Expression logging filters.
|
||||||
@ -93,7 +93,7 @@ where **namespace** is the *<component_namespace>* currently logging.
|
|||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
'<component_namespace>':
|
'<component_namespace>':
|
||||||
description: Logger namespace of the component and a list of Regular Expressions. See [Log Filters](#log-filters).
|
description: Logger namespace of the integration and a list of Regular Expressions. See [Log Filters](#log-filters).
|
||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user