Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-02-27 14:36:00 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-02-27 14:36:00 (GMT)
commitf19b771f689ff185068039b085688d7d437b3a62 (patch)
tree19ab34fd167d2c4c2b018f33632463579cff8121
parent356c95454bc82e7c99396f76395a6ba9ba0ccc13 (diff)
Rotate twistd logs
-rw-r--r--fabfile/master.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fabfile/master.py b/fabfile/master.py
index 311a2d3..0f1125a 100644
--- a/fabfile/master.py
+++ b/fabfile/master.py
@@ -42,7 +42,8 @@ def create(instance_name=get_instance_name()):
sudo("pip install buildbot")
sudo("rm -rf ~/%s" % instance_info["master_dir"])
- sudo("buildbot create-master ~/%s" % instance_info["master_dir"])
+ sudo("buildbot create-master --log-size %d --log-count %d ~/%s" %
+ (1024 * 1024 * 10, 10, instance_info["master_dir"])
execute(update)
execute(configure)