Changeset 9130822 in trunk


Ignore:
Timestamp:
2015-11-03T17:35:21Z (9 years ago)
Author:
Daira Hopwood <daira@…>
Branches:
master
Children:
d349f07
Parents:
98732cd
Message:

Disable bridging of foolscap logging to the Twisted log, and remove docs for it. fixes ticket:2567

Signed-off-by: Daira Hopwood <daira@…>

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified docs/logging.rst

    r98732cd r9130822  
    199199(non-sequential event numbers) in the log-gatherer's flogfiles.
    200200
    201 Local twistd.log files
    202 ======================
    203 
    204 [TODO: not yet true, requires foolscap-0.3.1 and a change to ``allmydata.node``]
    205 
    206 In addition to the foolscap-based event logs, certain high-level events will
    207 be recorded directly in human-readable text form, in the
    208 ``BASEDIR/logs/twistd.log`` file (and its rotated old versions:
    209 ``twistd.log.1``, ``twistd.log.2``, etc). This form does not contain as much
    210 information as the flogfiles available through the means described
    211 previously, but they are immediately available to the curious developer, and
    212 are retained until the twistd.log.NN files are explicitly deleted.
    213 
    214 Only events at the ``log.OPERATIONAL`` level or higher are bridged to
    215 ``twistd.log`` (i.e. not the ``log.NOISY`` debugging events). In addition,
    216 foolscap internal events (like connection negotiation messages) are not
    217 bridged to ``twistd.log``.
    218201
    219202Adding log messages
  • TabularUnified src/allmydata/node.py

    r98732cd r9130822  
    382382        self.tub.setOption("log-gatherer-furlfile",
    383383                           os.path.join(self.basedir, "log_gatherer.furl"))
    384         self.tub.setOption("bridge-twisted-logs", True)
     384
    385385        incident_dir = os.path.join(self.basedir, "logs", "incidents")
    386386        foolscap.logging.log.setLogDir(incident_dir.encode(get_filesystem_encoding()))
Note: See TracChangeset for help on using the changeset viewer.