From: Brian Warner Date: Thu, 3 Jul 2008 01:24:00 +0000 (-0700) Subject: disable incident reporting: unit tests are failing because of the leftover post-incid... X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/using.html?a=commitdiff_plain;h=13d0ba72a479a6a2016663ca81014cceff46913f;p=tahoe-lafs%2Ftahoe-lafs.git disable incident reporting: unit tests are failing because of the leftover post-incident timer --- diff --git a/src/allmydata/node.py b/src/allmydata/node.py index fa21bfbb..2dbf14c9 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -6,7 +6,7 @@ from twisted.python import log as tahoe_log from twisted.application import service from twisted.internet import defer, reactor from foolscap import Tub, eventual -import foolscap.logging.log +#import foolscap.logging.log from allmydata import get_package_versions_string from allmydata.util import log from allmydata.util import fileutil, iputil, observer, humanreadable @@ -217,7 +217,8 @@ class Node(service.MultiService): os.path.join(self.basedir, "log_gatherer.furl")) self.tub.setOption("bridge-twisted-logs", True) incident_dir = os.path.join(self.basedir, "logs", "incidents") - foolscap.logging.log.setLogDir(incident_dir) + # this doesn't quite work yet: unit tests fail + #foolscap.logging.log.setLogDir(incident_dir) def log(self, *args, **kwargs): return log.msg(*args, **kwargs)