Update logger.markdown (#1674)
This commit is contained in:
parent
3f3828e009
commit
3bbd4815f7
1 changed files with 6 additions and 2 deletions
|
@ -15,7 +15,11 @@ The logger component lets you define the level of logging activities in Home Ass
|
||||||
|
|
||||||
To enable the logger in your installation, add the following to your `configuration.yaml` file:
|
To enable the logger in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
By default log all messages and ignore events lower than critical for specified components.
|
To have a full log and log everything only this entry is needed (without any qualifier):
|
||||||
|
```yaml
|
||||||
|
logger:
|
||||||
|
```
|
||||||
|
To log all messages and ignore events lower than critical for specified components.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
@ -26,7 +30,7 @@ logger:
|
||||||
homeassistant.components.camera: critical
|
homeassistant.components.camera: critical
|
||||||
```
|
```
|
||||||
|
|
||||||
By default ignore all messages lower than critical and log event for specified components.
|
To ignore all messages lower than critical and log event for specified components.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue