Remove GUNICORN_CMD_ARGS before we start our app

Cloudfoundry adds this env var which forces gunicorn to print
its access log to stdout because reasons.

This also takes precedence over *anything* we put in our config file,
including disabling the access logs.

Related commit:
7b350f292a (diff-153f90501612878d9c6fcd50247547bcR526)
This commit is contained in:
Athanasios Voutsadakis
2018-06-25 16:30:48 +01:00
parent b554077961
commit b56addb4ff

View File

@@ -2,6 +2,7 @@
buildpack: python_buildpack
command: >
unset GUNICORN_CMD_ARGS;
scripts/run_app_paas.sh
gunicorn
-c /home/vcap/app/gunicorn_config.py