slaprunner: supervisor handles better log files
... | @@ -627,6 +627,7 @@ autostart = false | ... | @@ -627,6 +627,7 @@ autostart = false |
directory = $${buildout:directory} | directory = $${buildout:directory} | ||
exitcodes = 0 | exitcodes = 0 | ||
logfile = $${directory:log}/supervisord.log | logfile = $${directory:log}/supervisord.log | ||
no_logfile = NONE | |||
numprocs = 1 | numprocs = 1 | ||
path = $${environ:PATH} | path = $${environ:PATH} | ||
pidfile = $${directory:run}/supervisord.pid | pidfile = $${directory:run}/supervisord.pid | ||
... | @@ -644,7 +645,9 @@ slapgrid-sr-startretries = 2 | ... | @@ -644,7 +645,9 @@ slapgrid-sr-startretries = 2 |
socket_name = unix://$${:socket_path} | socket_name = unix://$${:socket_path} | ||
socket_path = $${directory:tmp}/supervisord.sock | socket_path = $${directory:tmp}/supervisord.sock | ||
startsecs = 1 | startsecs = 1 | ||
stdout_logfile = NONE | # This file logs errors from listeners. Supervisord has its own logfile. | ||
# Processes should handle their logs by themselves | |||
|
|||
stderr_logfile = $${directory:log}/supervisord-errors.log | |||
[supervisord-conf] | [supervisord-conf] | ||
recipe = slapos.recipe.template:jinja2 | recipe = slapos.recipe.template:jinja2 | ||
... | ... |