Changeset 9130822 in trunk
- Timestamp:
- 2015-11-03T17:35:21Z (9 years ago)
- Branches:
- master
- Children:
- d349f07
- Parents:
- 98732cd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified docs/logging.rst ¶
r98732cd r9130822 199 199 (non-sequential event numbers) in the log-gatherer's flogfiles. 200 200 201 Local twistd.log files202 ======================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 will207 be recorded directly in human-readable text form, in the208 ``BASEDIR/logs/twistd.log`` file (and its rotated old versions:209 ``twistd.log.1``, ``twistd.log.2``, etc). This form does not contain as much210 information as the flogfiles available through the means described211 previously, but they are immediately available to the curious developer, and212 are retained until the twistd.log.NN files are explicitly deleted.213 214 Only events at the ``log.OPERATIONAL`` level or higher are bridged to215 ``twistd.log`` (i.e. not the ``log.NOISY`` debugging events). In addition,216 foolscap internal events (like connection negotiation messages) are not217 bridged to ``twistd.log``.218 201 219 202 Adding log messages -
TabularUnified src/allmydata/node.py ¶
r98732cd r9130822 382 382 self.tub.setOption("log-gatherer-furlfile", 383 383 os.path.join(self.basedir, "log_gatherer.furl")) 384 self.tub.setOption("bridge-twisted-logs", True) 384 385 385 incident_dir = os.path.join(self.basedir, "logs", "incidents") 386 386 foolscap.logging.log.setLogDir(incident_dir.encode(get_filesystem_encoding()))
Note: See TracChangeset
for help on using the changeset viewer.