[tor-bugs] #10059 [Tor]: capture tor log messages before control connection is opened

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 31 14:42:56 UTC 2013


#10059: capture tor log messages before control connection is opened
--------------------+----------------------------------
 Reporter:  mcs     |          Owner:  nickm
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Tor     |        Version:  Tor: unspecified
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+----------------------------------
 While working on ticket #9675, Kathy Brade and I discovered that the tor
 log warnings regarding clock skew are sometimes generated very early as
 tor starts up.  Unfortunately, there is a known problem in Tor Launcher
 where tor log messages are not captured until Tor Launcher is able to
 connect to the control port and issue a SETEVENTS command (the Mozilla
 process control APIs do not provide a way to capture stdout or stderr).

 One solution is for tor to provide a way to retrieve old log messages
 (e.g., a new getinfo command) or otherwise provide a way to capture
 messages that are generated before a control connection is opened.
 Another option for this specific scenario would be to modify tor to ensure
 that clock skew is always reported via the status/bootstrap-phase
 mechanism.

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


More information about the tor-bugs mailing list