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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 21 12:54:28 UTC 2019


#10059: capture tor log messages before control connection is opened
-------------------------------------------------+-------------------------
 Reporter:  mcs                                  |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  assigned
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  unspecified
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-usability, extdev-interview,     |  Actual Points:
  tbb-needs, 034-triage-20180328,                |
  035-removed-20180711                           |
Parent ID:  #9675                                |         Points:  3
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by arma):

 Tor Browser now has a more accessible "View the Tor logs" feature, which
 is great. But when I start my Tor Browser, and ask it to show me my logs,
 it starts in mid-boot, at
 {{{
 10/20/19, 08:33:45.270 [NOTICE] DisableNetwork is set. Tor will not make
 or accept non-control network connections. Shutting down all existing
 connections.
 10/20/19, 08:33:45.270 [NOTICE] DisableNetwork is set. Tor will not make
 or accept non-control network connections. Shutting down all existing
 connections.
 10/20/19, 08:33:45.270 [NOTICE] DisableNetwork is set. Tor will not make
 or accept non-control network connections. Shutting down all existing
 connections.
 10/20/19, 08:33:45.270 [NOTICE] Opening Socks listener on 127.0.0.1:9150
 10/20/19, 08:33:45.271 [NOTICE] Opened Socks listener on 127.0.0.1:9150
 }}}
 That is, it loses the log lines from before the race between "start up"
 and "Tor browser finishes its controller connection".

 It would be cool to have a feature where Tor stores up these initial log
 lines, and then gives them to the controller when it's ready for them.

 comment:17 here describes a plausible way to do that, using mostly
 machinery that is already in place from #6938. We're close!

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


More information about the tor-bugs mailing list