[tor-bugs] #2093 [Vidalia]: Handle debug-level Tor log severity efficiently
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Oct 20 18:54:52 UTC 2010
#2093: Handle debug-level Tor log severity efficiently
---------------------+------------------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Vidalia | Version:
Keywords: | Parent:
---------------------+------------------------------------------------------
Comment(by atagar):
Most likely the issue isn't so much drawing the volume of logs, but rather
that each DEBUG log event triggers a UI update. Arm ran into this problem
too, and I'm addressing it by coalescing events if they occur too
frequently (by default limiting UI updates to once every 300 ms). For the
code involved look for the 'features.log.maxRefreshRate' config option in:
https://svn.torproject.org/svn/arm/trunk/src/interface/logPanel.py
I have yet to stress test this on especially heavily loaded relays so it
might not be a silver bullet, but thus far it seems to be working well at
keeping the interface nice and responsive at the DEBUG runlevel. Cheers!
-Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2093#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list