Added gunicorn; fixed logging bug.