From 13d0ba72a479a6a2016663ca81014cceff46913f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 2 Jul 2008 18:24:00 -0700 Subject: [PATCH] disable incident reporting: unit tests are failing because of the leftover post-incident timer --- src/allmydata/node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.45.2