I have the following configuration for a gunicorn app:

[program:farstar-hq.gunicorn]
command=/var/www/farstar-hq/env/bin/gunicorn_django -b
unix:/var/run/gunicorn/farstar-hq.sock -p
/var/run/gunicorn/farstar-hq.pid --workers 1 --name
gunicorn-farstar-hq /var/www/farstar-hq/src/settings/staging.py
numprocs=1
priority=999
autostart=true
autorestart=unexpected
startsecs=1
startretries=3
exitcodes=0,2
stopsignal=TERM
stopwaitsecs=10
user=www-data
redirect_stderr=false
stdout_logfile=/var/log/supervisor/farstar-hq/gunicorn.out
stdout_logfile_maxbytes=250MB
stdout_logfile_backups=10
stderr_logfile=/var/log/supervisor/farstar-hq/gunicorn.err
stderr_logfile_maxbytes=250MB
stderr_logfile_backups=10

The app is currently failing (for another reason), but nothing is
being logged to the stderr log file.  When I run this command normally
as the www-data user, I get output through stderr.  Exit status is 1,
and I've confirmed the output is stderr by appending 2>/tmp/stderr
(supresses output).    Any ideas why I'm getting empty log files?
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to