Commit 09cf5c4326c669fa3195a46980dcb7fa442d1d17

Authored by Rohan Rangray
1 parent 6260f1981f
Exists in master

Added logging functionality to uwsgi.

Showing 1 changed file with 3 additions and 2 deletions Inline Diff

# mysite_uwsgi.ini file 1 1 # mysite_uwsgi.ini file
[uwsgi] 2 2 [uwsgi]
3 3
# Django-related settings 4 4 # Django-related settings
# the base directory (full path) 5 5 # the base directory (full path)
chdir = /srv/flashy-backend/ 6 6 chdir = /srv/flashy-backend/
# Django's wsgi file 7 7 # Django's wsgi file
module = flashy.wsgi 8 8 module = flashy.wsgi
# the virtualenv (full path) 9 9 # the virtualenv (full path)
# home = /srv/flashy-backend/venv/ 10 10 home = /srv/flashy-backend/venv/
11 11
12 logto = /var/log/uwsgi
# process-related settings 12 13 # process-related settings
# master 13 14 # master
# master = true 14 15 # master = true
# maximum number of worker processes 15 16 # maximum number of worker processes
# processes = 1 16 17 # processes = 1
http = :7001 17 18 http = :7001
# ... with appropriate permissions - may be needed 18 19 # ... with appropriate permissions - may be needed
# chmod-socket = 664 19 20 # chmod-socket = 664
touch-reload = '/tmp/reload_uwsgi' 20 21 # touch-reload = '/tmp/reload_uwsgi'