Skip to content

Commit d8f3b07

Browse files
committed
DBC22-6228: Send django logs to console
1 parent 8fa5e33 commit d8f3b07

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

compose/backend/start.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ echo 'creating superuser done; starting service'
2020
# python manage.py runserver 0.0.0.0:8000
2121
#trap : TERM INT; sleep 9999999999d & wait
2222
export DJANGO_SETTINGS_MODULE=config.settings
23-
gunicorn -b 0.0.0.0 --reload config.wsgi 2> /tmp/gunicorn.log
23+
gunicorn -b 0.0.0.0 --reload config.wsgi \
24+
--log-file=- \
25+
--access-logfile=- \
26+
--error-logfile=-

0 commit comments

Comments
 (0)