info level, and new variable name

This commit is contained in:
Curtis Castrapel 2018-03-16 11:55:53 -07:00
parent bbf5e95186
commit c7ca3949f6

View File

@ -178,7 +178,7 @@ def configure_logging(app):
now.day
)
)
es_handler.setLevel(app.config.get('LOG_LEVEL', 'DEBUG'))
es_handler.setLevel(app.config.get('ELASTICSEARCH_LOG_LEVEL', 'INFO'))
app.logger.addHandler(es_handler)
except Exception:
# Let's not let a dns failure to ES cause the service to fail.