Commit 6af1f3ac authored by Romain Courteaud's avatar Romain Courteaud

Keep log files for a long time by default

parent 527ebc5c
...@@ -51,7 +51,7 @@ class Recipe(GenericBaseRecipe): ...@@ -51,7 +51,7 @@ class Recipe(GenericBaseRecipe):
frequency = self.options['frequency'] frequency = self.options['frequency']
logrotate_conf.append(frequency) logrotate_conf.append(frequency)
num_rotate = 30 num_rotate = 3650
if 'num-rotate' in self.options: if 'num-rotate' in self.options:
num_rotate = self.options['num-rotate'] num_rotate = self.options['num-rotate']
logrotate_conf.append("rotate %s" % num_rotate) logrotate_conf.append("rotate %s" % num_rotate)
......
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