holandes22 / rafee

1 stars 1 forks source link

Set uwsgi logs properly #35

Open holandes22 opened 9 years ago

holandes22 commented 9 years ago

Currently they are written to /var/log supervisor/uwsgi , maybe is better to redirect them to /var/log/uwsgi (the folder needs to be created) This is controlled in the supervisor entry of uwsgi

tzurE commented 9 years ago

I've added to the file at provisioning/roles/supervisor/templates/supervisor/uwsgi.conf.j2 the lines - [program:uwsgi] .......#like before stderr_logfile=/var/log/uwsgi/stdError.log stdout_logfile=/var/log/uwsgi/stdout.log

are these enough? not sure how to test it since uwsgi seems to be working fine. I took the example from the celery conf file...

holandes22 commented 9 years ago

yes basically. Not so sure about the camelCase named file. Please use a standard format

tzurE commented 9 years ago

oh, yeah. sorry. ill change it to lower case.