mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Merge pull request #790 from andythigpen/logger-fix
Reset log handlers to lowest level.
This commit is contained in:
commit
6ccf63dae2
@ -78,6 +78,7 @@ def setup(hass, config=None):
|
||||
|
||||
# Set log filter for all log handler
|
||||
for handler in logging.root.handlers:
|
||||
handler.setLevel(logging.NOTSET)
|
||||
handler.addFilter(HomeAssistantLogFilter(logfilter))
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user