slaprunner: supervisor handles better log files
... | ... | @@ -627,6 +627,7 @@ autostart = false |
directory = $${buildout:directory} | ||
exitcodes = 0 | ||
logfile = $${directory:log}/supervisord.log | ||
no_logfile = NONE | ||
numprocs = 1 | ||
path = $${environ:PATH} | ||
pidfile = $${directory:run}/supervisord.pid | ||
... | ... | @@ -644,7 +645,9 @@ slapgrid-sr-startretries = 2 |
socket_name = unix://$${:socket_path} | ||
socket_path = $${directory:tmp}/supervisord.sock | ||
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] | ||
recipe = slapos.recipe.template:jinja2 | ||
... | ... |