[tor-bugs] #2191 [Tor Client]: Send all error-level log messages to controllers

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Nov 15 16:11:08 UTC 2010


#2191: Send all error-level log messages to controllers
--------------------------------+-------------------------------------------
 Reporter:  rransom             |        Type:  defect    
   Status:  new                 |    Priority:  major     
Milestone:  Tor: 0.2.2.x-final  |   Component:  Tor Client
  Version:                      |    Keywords:            
   Parent:                      |  
--------------------------------+-------------------------------------------

Comment(by nickm):

 > only log error-level messages when a crash is imminent (e.g. in
 tor_assert)

 ERR is not just for crashes; it's for any nonrecoverable error that means
 Tor needs to stop right now.  Probably that's close enough though.

 > send error-level log messages

 We should consider some kind of fast-path for sending error logs to
 controllers: we could bypass the whole buffered network IO layer and just
 call send() on the log message.

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


More information about the tor-bugs mailing list