Logger


The logger component lets you 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 events lower than critical for specified components.

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

By default ignore all messages lower than critical and log event for specified 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:

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