With my Procfile like this:
web: gunicorn app:app \\ --bind \"$HOST:$PORT\" \\ --debug --error-logfile \"-\" \\ --enable-stdio-inheritance \\ --r
In python 3, adding flush=True in each print statement works for my flask/gunicorn app.
flush=True
E.g.
gunicorn --bind 0.0.0.0:8080 server --log-level debug
No particular flags are required.
See if this helps.