This commit is contained in:
parent
a844a13608
commit
67c5d723ca
@ -77,3 +77,8 @@ register_all_error_handlers(app)
|
||||
|
||||
app.add_url_rule("/healthz", "healthcheck", view_func=lambda: health.run())
|
||||
|
||||
if __name__ != '__main__':
|
||||
import logging
|
||||
gunicorn_logger = logging.getLogger('gunicorn.error')
|
||||
app.logger.handlers = gunicorn_logger.handlers
|
||||
app.logger.setLevel(gunicorn_logger.level)
|
||||
|
Loading…
Reference in New Issue
Block a user