Commit 549c1e5f authored by Ivan Tyagov's avatar Ivan Tyagov

Because of this:...

Because of this: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos/grid/promise/generic.py#L44

When slapgrid run promises, it now save promise logs. Thus we need to logrotate them.
Thanks @Alain.
parent dd7dcda0
...@@ -19,7 +19,7 @@ md5sum = 713db528880282d568278f09458d2aab ...@@ -19,7 +19,7 @@ md5sum = 713db528880282d568278f09458d2aab
[template-runner] [template-runner]
filename = instance-runner.cfg filename = instance-runner.cfg
md5sum = be4528bbbd26a668032a7f7759a9a38f md5sum = 04e31ac503753f89510dd412b4680c56
[template-runner-import-script] [template-runner-import-script]
filename = template/runner-import.sh.jinja2 filename = template/runner-import.sh.jinja2
......
...@@ -802,7 +802,7 @@ post = kill -SIGUSR2 $(cat $${buildout:directory}/var/run/supervisord.pid) ...@@ -802,7 +802,7 @@ post = kill -SIGUSR2 $(cat $${buildout:directory}/var/run/supervisord.pid)
[logrotate-entry-slapgrid] [logrotate-entry-slapgrid]
<= logrotate-entry-base <= logrotate-entry-base
name = slapgrid name = slapgrid
log = $${runnerdirectory:home}/instance/*/.slapgrid/log/instance.log log = $${runnerdirectory:home}/instance/*/.slapgrid/log/instance.log $${runnerdirectory:home}/instance/*/.slapgrid/promise/log/*.log
[supervisord-promise] [supervisord-promise]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment