mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-01 02:36:42 +00:00
node: enable Tub.logLocalFailures now that we require foolscap-0.1.2
This commit is contained in:
parent
245d318409
commit
5b0ece6ece
@ -30,9 +30,8 @@ class Node(service.MultiService):
|
|||||||
f = open(certfile, "wb")
|
f = open(certfile, "wb")
|
||||||
f.write(self.tub.getCertData())
|
f.write(self.tub.getCertData())
|
||||||
f.close()
|
f.close()
|
||||||
if False: # TODO: once foolscap-0.1.1 is released, enable this
|
self.tub.setOption("logLocalFailures", True)
|
||||||
self.tub.setOption("logLocalFailures", True)
|
self.tub.setOption("logRemoteFailures", True)
|
||||||
self.tub.setOption("logRemoteFailures", True)
|
|
||||||
self.nodeid = idlib.a2b(self.tub.tubID)
|
self.nodeid = idlib.a2b(self.tub.tubID)
|
||||||
f = open(os.path.join(self.basedir, self.NODEIDFILE), "w")
|
f = open(os.path.join(self.basedir, self.NODEIDFILE), "w")
|
||||||
f.write(idlib.b2a(self.nodeid) + "\n")
|
f.write(idlib.b2a(self.nodeid) + "\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user