Tweeking error reporting and logging

This commit is contained in:
Jeffrey Stone 2021-05-24 11:58:12 -04:00
parent 7de81baf53
commit e2ef6b1486
1 changed files with 12 additions and 4 deletions

View File

@ -7,7 +7,7 @@
recorder: recorder:
#db_url: !secret database #db_url: !secret database
purge_keep_days: 2 purge_keep_days: 1
exclude: exclude:
domains: domains:
- automation - automation
@ -17,6 +17,7 @@ recorder:
- sun.sun # Don't record sun data - sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform - sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date - sensor.date
- sensor.icloud3_event_log
logbook: logbook:
include: include:
@ -24,12 +25,15 @@ logbook:
- media_player - media_player
- automation - automation
- script - script
- scene
- light
- switch
# Lets try to make the logs less chatty and more fine tuned. # Lets try to make the logs less chatty and more fine tuned.
logger: logger:
default: warning default: error
logs: logs:
homeassistant.core: info homeassistant.core: warning
homeassistant.loader: error homeassistant.loader: error
homeassistant.components.recorder: error # to spot db issues homeassistant.components.recorder: error # to spot db issues
homeassistant.config_entries: error homeassistant.config_entries: error
@ -43,7 +47,9 @@ logger:
homeassistant.components.nws: error homeassistant.components.nws: error
homeassistant.components.wemo: error homeassistant.components.wemo: error
homeassistant.helpers.event: critical homeassistant.helpers.event: critical
bellows: error
zigpy: error
homeassistant.components.zha.core: error
history: history:
include: include:
@ -52,3 +58,5 @@ history:
- switch - switch
- media_player - media_player
- light - light
- scene
- automation