]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
check_memory.py: have all clients write their logs to _test_memory/client.log instead...
authorBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 19:34:05 +0000 (12:34 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 19:34:05 +0000 (12:34 -0700)
src/allmydata/test/check_memory.py

index 81af5e460eb8e49205d9f16ac29f0b3d6c609d83..b33b4af4b9145cf4e70cde81140f7b527c5d56a3 100644 (file)
@@ -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")