Merge pull request #790 from andythigpen/logger-fix
Reset log handlers to lowest level.
This commit is contained in:
commit
6ccf63dae2
1 file changed
+1
@@ -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
|
||||
Reference in new issue
Block a user