Merge pull request #721 from MartinHjelmare/fix-logging-levels

Fix logging lowest level
pull/727/head^2
Paulus Schoutsen 2015-12-10 20:57:59 -08:00
commit 5f8fc7e197
1 changed files with 1 additions and 1 deletions

View File

@ -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(