Commit d38558be authored by Łukasz Nowak's avatar Łukasz Nowak

- register Zope logs to rotation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45649 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aeb12f1d
......@@ -507,6 +507,9 @@ class Recipe(BaseSlapRecipe):
'%s.pid' % name)
zope_config['lock-filename'] = os.path.join(self.run_directory,
'%s.lock' % name)
self.registerLogRotation(name, [zope_config['event_log'],
zope_config['z2_log']], self.killpidfromfile + ' ' +
zope_config['pid-filename'] + ' SIGUSR2')
prefixed_products = []
for product in reversed(zope_config['products'].split()):
......
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