[tor-bugs] #8880 [Tor]: Fix log message saying what fraction of paths we can likely build

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 15 18:05:00 UTC 2013


#8880: Fix log message saying what fraction of paths we can likely build
-------------------------------+--------------------------------------------
 Reporter:  karsten            |          Owner:                    
     Type:  defect             |         Status:  needs_information 
 Priority:  normal             |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                |        Version:                    
 Keywords:  tor-client shadow  |         Parent:                    
   Points:                     |   Actualpoints:                    
-------------------------------+--------------------------------------------

Comment(by nickm):

 Replying to [comment:4 robgjansen]:

 > This is where I wish Tor was slightly more modular (read: Shadow could
 selectively intercept functions). Shadow intercepts the 'logv' function in
 'log.c' so that it can push the log message through the simulator's
 logging mechanism. That means every time changes are made to logv,
 Shadow's version becomes out of date. Ideally [for Shadow], the
 'write_all' at the end of 'logv' would be moved to a new 'logv_write_all'
 function. Then, Shadow could intercept 'logv_write_all' and reduce code
 duplication on Shadow's end.

 "Unless someone like you cares a whole awful lot, nothing is going to get
 better.  It's not!" -- _The Lorax_ by Dr Seuss

 I'd take a patch to add that.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8880#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list