From c7986389e50c2261439fae785db0dba84dd0a783 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Sat, 15 Sep 2007 12:34:05 -0700
Subject: [PATCH] check_memory.py: have all clients write their logs to
 _test_memory/client.log instead of a separate file per client

---
 src/allmydata/test/check_memory.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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")
-- 
2.45.2