[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9199 [BridgeDB]: Rethink the logging of BridgeDB
#9199: Rethink the logging of BridgeDB
----------------------+-----------------------------------------------------
Reporter: asn | Owner: isis
Type: task | Status: accepted
Priority: normal | Milestone:
Component: BridgeDB | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Changes (by isis):
* status: needs_review => accepted
* owner: => isis
Comment:
I rebased my rewrite of bridgedb's logger on top of sysrqb's commits. It
is [https://github.com/isislovecruft/bridgedb/compare/feature;9199
-improved-logging-r6 here].
It uses twisted's logger, wraps blocking IO functions in a
threadable.synchronize, has support for per-thread context switching, and
has all the log level functionality of the stdlib logging module hacked
into twisted. The one thing which it currently does not do as well is
configurable log rotation, because iirc, twisted usually handles this
through the application module. I could look into that more, though if
someone else wanted to figure out the best way to do that, that would be
great too.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9199#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs