in __init__.py appears to make it work, along with setting the logging level.
I can do a pull request for this, unless someone knows a better way - python isn't my first language, so I'm not completely sure whether this is the usual/best/conventional way of doing this :)
With debug switched on debug output from gunicorn appears in the logs but not output from the application itself, via flask.
something akin to:
in
__init__.py
appears to make it work, along with setting the logging level.I can do a pull request for this, unless someone knows a better way - python isn't my first language, so I'm not completely sure whether this is the usual/best/conventional way of doing this :)