adding logging and gunicorn syntax