[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs