From e3d266e53948b3741c88fe0072765ba553944a1d Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Sun, 5 Feb 2017 13:58:30 +0000 Subject: [PATCH] add gunicorn logging --- compose/django/gunicorn.sh | 2 +- stage.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/compose/django/gunicorn.sh b/compose/django/gunicorn.sh index 62f6668..1557f8b 100644 --- a/compose/django/gunicorn.sh +++ b/compose/django/gunicorn.sh @@ -1,4 +1,4 @@ #!/bin/sh python /app/manage.py collectstatic --noinput python /app/manage.py compilescss -/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/gunicorn.sock --chdir=/app +/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/gunicorn.sock --error-logfile /var/log/gunicorn/gunicorn-error.log --chdir=/app diff --git a/stage.yml b/stage.yml index 4b7ddf6..57ed58e 100644 --- a/stage.yml +++ b/stage.yml @@ -2,7 +2,6 @@ version: '2' volumes: sockets: - driver: local external: true postgres_data: driver: local