Add better logging for supervisord managed processes.
This commit is contained in:
parent
f566532b14
commit
41a54c74e4
|
@ -2,4 +2,7 @@
|
||||||
[program:mailsink]
|
[program:mailsink]
|
||||||
command=/srv/www/virtualenvs/mail_server/bin/mailsinkd -w 8025 -s 25
|
command=/srv/www/virtualenvs/mail_server/bin/mailsinkd -w 8025 -s 25
|
||||||
stopsignal=TERM
|
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
|
stderr_logfile_backups=5
|
||||||
|
|
|
@ -3,4 +3,7 @@
|
||||||
user=www-data
|
user=www-data
|
||||||
command=/srv/www/virtualenvs/uwsgi/bin/uwsgi --ini /srv/www/config/uwsgi/rookeries-uwsgi.ini
|
command=/srv/www/virtualenvs/uwsgi/bin/uwsgi --ini /srv/www/config/uwsgi/rookeries-uwsgi.ini
|
||||||
stopsignal=TERM
|
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
|
||||||
|
|
Loading…
Reference in New Issue