From: Brian Warner <warner@lothar.com>
Date: Sat, 15 Sep 2007 19:34:05 +0000 (-0700)
Subject: check_memory.py: have all clients write their logs to _test_memory/client.log instead... 
X-Git-Tag: allmydata-tahoe-0.6.0~110
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/uri/%22doc.html/?a=commitdiff_plain;h=c7986389e50c2261439fae785db0dba84dd0a783;p=tahoe-lafs%2Ftahoe-lafs.git

check_memory.py: have all clients write their logs to _test_memory/client.log instead of a separate file per client
---

diff --git a/src/allmydata/test/check_memory.py b/src/allmydata/test/check_memory.py
index 81af5e46..b33b4af4 100644
--- a/src/allmydata/test/check_memory.py
+++ b/src/allmydata/test/check_memory.py
@@ -181,7 +181,8 @@ this file are ignored.
 
         pp = ClientWatcher()
         self.proc_done = pp.d = defer.Deferred()
-        cmd = ["twistd", "-y", "client.tac"]
+        logfile = os.path.join(self.basedir, "client.log")
+        cmd = ["twistd", "-y", "client.tac", "-l", logfile]
         env = os.environ.copy()
         self.proc = reactor.spawnProcess(pp, cmd[0], cmd, env, path=clientdir)
         log.msg("CLIENT STARTED")