[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2803: Magic Folder logging
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Aug 9 02:48:22 UTC 2016
#2803: Magic Folder logging
---------------------+---------------------------
Reporter: meejah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.11.0
Keywords: | Launchpad Bug:
---------------------+---------------------------
All of the magic-folder logging goes through `QueueMixin._log` which is a
call-through to `Node.log`, which just calls-through to
`allmydata.util.log`, which assigns `msg` as `foolscap.logging.log` which
is really the `.msg` of a singleton `FoolscapLogger` instance.
...but, I can't see how they're ever emitted (e.g. there's no observers
set up in foolscap's FoolscapLogger).
Much of the logging should also be given a `level=NOISY` kwarg so that it
only shows up during debug etc.
All that said, it would be nice to use the new Twisted structured-ish-
logging APIs which has the benefit of delaying string-interpolation as
long as possible (which may be "forever" for many cases). I don't know how
or if that would affect logging from Foolscap pieces.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2803>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list