mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Fix logging lowest level
* Set lowest logging level to NOTSET in enable_logging(), bootstrap.py, to enable setting a lower logging level than INFO in the logger component.
This commit is contained in:
parent
5d3d2d4110
commit
5ff6eb8b9c
@ -275,7 +275,7 @@ def enable_logging(hass, verbose=False, daemon=False, log_rotate_days=None):
|
||||
datefmt='%y-%m-%d %H:%M:%S'))
|
||||
logger = logging.getLogger('')
|
||||
logger.addHandler(err_handler)
|
||||
logger.setLevel(logging.INFO) # this sets the minimum log level
|
||||
logger.setLevel(logging.NOTSET) # this sets the minimum log level
|
||||
|
||||
else:
|
||||
_LOGGER.error(
|
||||
|
Loading…
x
Reference in New Issue
Block a user