[tor-bugs] #26888 [Core Tor/Torsocks]: torsocks: --quiet option

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 24 01:25:41 UTC 2018


#26888: torsocks: --quiet option
-------------------------------------+-----------------------------------
 Reporter:  ilf                      |          Owner:  dgoulet
     Type:  enhancement              |         Status:  needs_information
 Priority:  Medium                   |      Milestone:
Component:  Core Tor/Torsocks        |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:  torsocks, quiet, option  |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+-----------------------------------
Changes (by onirony):

 * status:  new => needs_information


Comment:

 What version of Torsocks are you using? The current source code at
 https://gitweb.torproject.org/torsocks.git/tree/ supports the -q/--quiet
 option. The man page that came with torsocks when I install it via brew
 also says the following:


 {{{
        -q, --quiet
               Suppress every log messages [sic] (even errors).
 }}}

 For some reason, when I just enter the torsocks command on the terminal
 this option isn't presented with all the others, even though it exists and
 is documented in the man page (not sure if there's a reason, to me it
 seems like it should appear with all the rest of the options).

 Anyway, using -q sets a variable within torsocks called
 {{{TORSOCKS_LOG_LEVEL}}} to 1. Torsocks checks this variable before
 outputting errors. The lower the level, the more conservative Torsocks is
 about logging. 1 (quiet mode) is the lowest level. The highest level is 5,
 which is set via the -d/--debug option.

 What system are you on and how did you install torsocks? If you installed
 it using a package manager it's possible they provide a version that
 predates the -q option. If that's the case, torsocks is pretty easy to
 build yourself by cloning the git repo
 (https://gitweb.torproject.org/torsocks.git/tree/) and following the
 instructions here:
 https://gitweb.torproject.org/torsocks.git/tree/README.md

 If it is the case that your package manager gave you a torsocks that lacks
 -q I'll bug the repository maintainers to use a newer version so that
 others don't have to go through this.

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


More information about the tor-bugs mailing list