added logging to gunicorn