[tor-bugs] #6759 [Tor Client]: Don't tell user about reloading microdesc cache at startup

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Sep 3 22:40:27 UTC 2012


#6759: Don't tell user about reloading microdesc cache at startup
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:  #6736             
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 {{{
 Sep 03 18:12:41.000 [notice] Reloaded microdescriptor cache.  Found 0
 descriptors.
 }}}
 is there on initial startup every time.

 If you've already got lots of dir info, it would say e.g.
 {{{
 Sep 03 18:24:41.000 [notice] Reloaded microdescriptor cache.  Found 3035
 descriptors.
 }}}

 Our bootstrap warnings are supposed to tell the user when there's a
 problem, and our bootstrap notices say when there isn't. We don't need
 this extra line.

 I had originally thought to do a fancier fix like:
 {{{
 -  log_notice(LD_DIR, "Reloaded microdescriptor cache.  Found %d
 descriptors.",
 -             total);
 +  log(total ? LOG_NOTICE : LOG_INFO, LD_DIR,
 +      "Reloaded microdescriptor cache. Found %d descriptors.", total);
 }}}
 but then I noticed that 0.2.2.38 doesn't have a line about loading
 descriptors, so I have tentatively marked this as 0.2.3.x-final and
 suggest just downgrading the log message.

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


More information about the tor-bugs mailing list