disable incident reporting: unit tests are failing because of the leftover post-incid...
authorBrian Warner <warner@allmydata.com>
Thu, 3 Jul 2008 01:24:00 +0000 (18:24 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 3 Jul 2008 01:24:00 +0000 (18:24 -0700)
src/allmydata/node.py

index fa21bfbba816f8a2e4cbda61b4f0370d3348bf94..2dbf14c9e37d81f84266b82a2073862af257d845 100644 (file)
@@ -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)