ensuring stdout has a default log level (#766)
This commit is contained in:
parent
75787d20bc
commit
4905020e77
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user