Skip to content

Commit 06a9766

Browse files
Set gunicorn to log directly to stdout for docker logging
1 parent 8ea7b33 commit 06a9766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services-conf/django_startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ chown -R hpcperfstats:hpcperfstats /hpcperfstats/
1616
/usr/local/bin/python3 hpcperfstats/site/manage.py migrate
1717

1818
# gunicorn is the django web server - this is configued for a 40 core machine
19-
/usr/local/bin/gunicorn hpcperfstats.site.hpcperfstats_site.wsgi --bind 0.0.0.0:8000 --env DJANGO_SETTINGS_MODULE=hpcperfstats.site.hpcperfstats_site.settings -u hpcperfstats --workers=81
19+
/usr/local/bin/gunicorn hpcperfstats.site.hpcperfstats_site.wsgi --bind 0.0.0.0:8000 --env DJANGO_SETTINGS_MODULE=hpcperfstats.site.hpcperfstats_site.settings -u hpcperfstats --workers=81 --access-logfile - --error-logfile -
2020

0 commit comments

Comments
 (0)