I would like to flush the log of my Flask application as it is ran by Gunicorn and Supervisord. I found a few options here for supervisord and there specifically for Gunicorn.
The ones for Gunicorn only work for Python 3, is there something that would work with Python 2? In particular, is there a way to pass the -u option to Python when Gunicorn is executing my app?