ensuring stdout has a default log level (#766)

This commit is contained in:
kevgliss 2017-04-27 10:11:47 -07:00 committed by GitHub
parent 75787d20bc
commit 4905020e77
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def configure_logging(app):
app.logger.addHandler(handler)
stream_handler = StreamHandler()
stream_handler.setLevel(app.config.get('LOG_LEVEL'))
stream_handler.setLevel(app.config.get('LOG_LEVEL', 'DEBUG'))
app.logger.addHandler(stream_handler)