This commit is contained in:
		@@ -77,3 +77,8 @@ register_all_error_handlers(app)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
app.add_url_rule("/healthz", "healthcheck", view_func=lambda: health.run())
 | 
					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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user