6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

Print gunicorn access logs in the console

See docs: https://docs.gunicorn.org/en/stable/settings.html#accesslog
This commit is contained in:
Régis Behmo 2019-12-05 12:41:00 +01:00
parent afab59e17d
commit a028bad636
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased ## Unreleased
- [Improvement] Print gunicorn access logs in the console
- 💥[Improvement] Get rid of the `indexcourses` and `portainer` command (#269) - 💥[Improvement] Get rid of the `indexcourses` and `portainer` command (#269)
## 3.8.0 (2019-11-22) ## 3.8.0 (2019-11-22)

View File

@ -113,4 +113,4 @@ ENTRYPOINT ["docker-entrypoint.sh"]
# Run server # Run server
COPY gunicorn_conf.py /openedx/gunicorn_conf.py COPY gunicorn_conf.py /openedx/gunicorn_conf.py
EXPOSE 8000 EXPOSE 8000
CMD gunicorn -c /openedx/gunicorn_conf.py --name ${SERVICE_VARIANT} --bind=0.0.0.0:8000 --max-requests=1000 ${SERVICE_VARIANT}.wsgi:application CMD gunicorn -c /openedx/gunicorn_conf.py --name ${SERVICE_VARIANT} --bind=0.0.0.0:8000 --max-requests=1000 --access-logfile - ${SERVICE_VARIANT}.wsgi:application