Ensure python machine learning logging under gunicorn