Add better logging for supervisord managed processes.

This commit is contained in:
Dorian 2014-12-04 08:12:24 -05:00
parent f566532b14
commit 41a54c74e4
2 changed files with 7 additions and 1 deletions

View File

@ -2,4 +2,7 @@
[program:mailsink]
command=/srv/www/virtualenvs/mail_server/bin/mailsinkd -w 8025 -s 25
stopsignal=TERM
stdout_logfile = /srv/www/logs/supervisor/mailsink-application.log
stdout_logfile_backups = 5
stderr_logfile=/srv/www/logs/supervisor/mailsink-error.log
stderr_logfile_backups=5

View File

@ -3,4 +3,7 @@
user=www-data
command=/srv/www/virtualenvs/uwsgi/bin/uwsgi --ini /srv/www/config/uwsgi/rookeries-uwsgi.ini
stopsignal=TERM
stderr_logfile_backups = 10
stdout_logfile = /srv/www/logs/supervisor/rookeries-application.log
stdout_logfile_backups = 5
stderr_logfile = /srv/www/logs/supervisor/rookeries-error.log
stderr_logfile_backups = 5