[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2093 [Vidalia]: Handle debug-level Tor log severity efficiently
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs