]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
node.py: remove the provoke-logport-furlfile-creation hack now that foolscap-0.2...
authorBrian Warner <warner@lothar.com>
Tue, 25 Dec 2007 00:24:40 +0000 (17:24 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 25 Dec 2007 00:24:40 +0000 (17:24 -0700)
src/allmydata/node.py

index 1a0a8113a8887d7ee800588b9409f8baadd09ee5..0d82777bd02fa3a5e9c82c2d83ec87952464831b 100644 (file)
@@ -206,10 +206,7 @@ class Node(service.MultiService):
                            os.path.join(self.basedir, "private","logport.furl"))
         self.tub.setOption("log-gatherer-furlfile",
                            os.path.join(self.basedir, "log_gatherer.furl"))
-        # provoke foolscap into registering the logport when it can, so that
-        # the 'logport.furl' file will be available for people to use
-        # 'flogtool tail'.
-        self.when_tub_ready().addCallback(lambda res: self.tub.getLogPortFURL())
+        self.tub.setOption("bridge-twisted-logs", True)
 
     def log(self, msg, src="", args=(), **kw):
         if src: