Add logrotate entries for slapgrid instance output.
Showing
... | ... | @@ -30,6 +30,7 @@ parts = |
supervisord-wrapper | ||
supervisord-promise | ||
logrotate-entry-supervisord | ||
logrotate-entry-slapgrid | ||
httpd-graceful-wrapper | ||
{% if slapparameter_dict.get('no-ipv4-frontend', 'false') == 'false' %} | ||
slaprunner-frontend-promise | ||
... | ... | @@ -798,6 +799,11 @@ name = supervisord |
log = $${directory:log}/slapproxy.log $${directory:log}/supervisord.log $${directory:log}/supervisord-errors.log | ||
post = kill -SIGUSR2 $(cat $${buildout:directory}/var/run/supervisord.pid) | ||
[logrotate-entry-slapgrid] | ||
<= logrotate-entry-base | ||
name = slapgrid | ||
log = $${runnerdirectory:home}/instance/*/.slapgrid/log/instance.log | ||
|
||
[supervisord-promise] | ||
recipe = slapos.cookbook:check_port_listening | ||
path = $${directory:promises}/supervisord | ||
... | ... |