2015-11-12 18:03:48 +01:00

1.1 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category
layout title description date sidebar comments sharing footer ha_category
component Logger Instructions how to enable the logger component for Home Assistant. 2015-11-12 17:00 true false true true Other

The logger component let one define the level of logging activities in Home Assistant.

To enable the logger in your installation, add the following to your configuration.yaml file:

By default log all messages and ignore log event lowest than critical for custom omponents.

# Example configuration.yaml entry
logger:
  default: info
  logs:
    homeassistant.components.device_tracker: critical
    homeassistant.components.camera: critical

By default ignore all messages lowest than critical and log event for custom components.

# Example configuration.yaml entry
logger:
  default: critical
  logs:
    homeassistant.components: info
    homeassistant.components.rfxtrx: debug
    homeassistant.components.device_tracker: critical
    homeassistant.components.camera: critical

Possible log severities are:

  • citical
  • fatal
  • error
  • warning
  • warn
  • info
  • debug
  • notset