From 4ce196a9c4e48d07a9eb0cbbcd611f114c8cb003 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 24 Dec 2007 17:24:40 -0700 Subject: [PATCH] node.py: remove the provoke-logport-furlfile-creation hack now that foolscap-0.2.3 does it for us, and add bridge-twisted-logs --- src/allmydata/node.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/allmydata/node.py b/src/allmydata/node.py index 1a0a8113..0d82777b 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -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: -- 2.45.2