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

This commit is contained in:
Brian Warner 2007-09-15 12:34:05 -07:00
parent 4ee9f1b7df
commit c7986389e5

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