[tor-bugs] #11090 [Torsocks]: torsocks should log errors to stderr and not stdout

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 2 18:23:46 UTC 2014


#11090: torsocks should log errors to stderr and not stdout
---------------------------+----------------------
     Reporter:  infinity0  |      Owner:  dgoulet
         Type:  defect     |     Status:  assigned
     Priority:  normal     |  Milestone:
    Component:  Torsocks   |    Version:
   Resolution:             |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+----------------------

Comment (by dgoulet):

 Hrm that's a bit weird because the default is to use stderr... If you look
 at src/common/log.c +166, a check is made on stderr if it exists and valid
 else it's going to use 0 (stdout).

 Is there at some point anything that closes stderr in your use case that
 could prevent torsocks from using it?

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


More information about the tor-bugs mailing list