Emit gunicorn logs to stdin and stderr

This commit is contained in:
2023-01-08 15:48:53 +01:00
parent 33e136a810
commit 751182df52
2 changed files with 2 additions and 2 deletions

View File

@ -10,4 +10,4 @@ poetry run python src/web/manage.py collectstatic --clear --no-input
echo "Starting server"
caddy start
cd src/web || exit
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile -