]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Disable bridging of foolscap logging to the Twisted log, and remove docs for it.... 2567.turn-off-log-bridging.0 202/head
authorDaira Hopwood <daira@jacaranda.org>
Tue, 3 Nov 2015 17:35:21 +0000 (17:35 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 3 Nov 2015 17:35:21 +0000 (17:35 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
docs/logging.rst
src/allmydata/node.py

index 4672e8f90bade5f3776f53383d9d8249b1c40a39..8d01557aee7324763e449e3b24e2fdc2ce4e99e0 100644 (file)
@@ -198,23 +198,6 @@ the outbound TCP queue), publishing nodes will start dropping log events when
 the outbound queue grows too large. When this occurs, there will be gaps
 (non-sequential event numbers) in the log-gatherer's flogfiles.
 
-Local twistd.log files
-======================
-
-[TODO: not yet true, requires foolscap-0.3.1 and a change to ``allmydata.node``]
-
-In addition to the foolscap-based event logs, certain high-level events will
-be recorded directly in human-readable text form, in the
-``BASEDIR/logs/twistd.log`` file (and its rotated old versions:
-``twistd.log.1``, ``twistd.log.2``, etc). This form does not contain as much
-information as the flogfiles available through the means described
-previously, but they are immediately available to the curious developer, and
-are retained until the twistd.log.NN files are explicitly deleted.
-
-Only events at the ``log.OPERATIONAL`` level or higher are bridged to
-``twistd.log`` (i.e. not the ``log.NOISY`` debugging events). In addition,
-foolscap internal events (like connection negotiation messages) are not
-bridged to ``twistd.log``.
 
 Adding log messages
 ===================
index 35ccb355e5c2feebf20b277775cbc24f1a82b5c1..98ce3cb7c539aacec662488446ade79ea599747b 100644 (file)
@@ -381,7 +381,7 @@ class Node(service.MultiService):
             self.tub.setOption("log-gatherer-furl", lgfurl)
         self.tub.setOption("log-gatherer-furlfile",
                            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.encode(get_filesystem_encoding()))