info level, and new variable name
This commit is contained in:
parent
bbf5e95186
commit
c7ca3949f6
|
@ -178,7 +178,7 @@ def configure_logging(app):
|
||||||
now.day
|
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)
|
app.logger.addHandler(es_handler)
|
||||||
except Exception:
|
except Exception:
|
||||||
# Let's not let a dns failure to ES cause the service to fail.
|
# Let's not let a dns failure to ES cause the service to fail.
|
||||||
|
|
Loading…
Reference in New Issue