[tor-bugs] #1133 [Tor bundles/installation]: fedora rpm doesn't log by default?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Feb 15 22:18:56 UTC 2011


#1133: fedora rpm doesn't log by default?
---------------------------------------------+------------------------------
        Reporter:  arma                      |        Owner:  erinn   
            Type:  defect                    |       Status:  reopened
        Priority:  minor                     |    Milestone:          
       Component:  Tor bundles/installation  |      Version:  0.2.1.19
      Resolution:                            |     Keywords:          
          Parent:                            |       Points:          
Actualpointsdone:                            |   Pointsdone:          
    Actualpoints:                            |  
---------------------------------------------+------------------------------
Changes (by arma):

  * status:  closed => reopened
  * resolution:  wontfix =>


Old description:

> It looks like the fedora rpm doesn't set any Log lines in the torrc,
> but it does set RunAsDaemon 1 so it forks into the background. If you
> don't set any Log lines in the torrc file, then Tor will log to stdout
> by default. And the fork will close that log.
>
> Are all the rpm users supposed to know to uncomment a Log line?
>
> The deb patches the Tor code so Tor defaults to logging to a file rather
> than stdout:
> https://git.torproject.org/checkout/tor/master/debian/patches/07_log_to_file_by_default.dpatch
>
> Or maybe the torrc on fedora rpm should just uncomment the 'log notice
> file ...'
> line?
>
> [Automatically added by flyspray2trac: Operating System: All]

New description:

 It looks like the fedora rpm doesn't set any Log lines in the torrc,
 but it does set RunAsDaemon 1 so it forks into the background. If you
 don't set any Log lines in the torrc file, then Tor will log to stdout
 by default. And the fork will close that log.

 Are all the rpm users supposed to know to uncomment a Log line?

 The deb patches the Tor code so Tor defaults to logging to a file rather
 than stdout:
 https://git.torproject.org/checkout/tor/master/debian/patches/07_log_to_file_by_default.dpatch

 Or maybe the torrc on fedora rpm should just uncomment the 'log notice
 file ...'
 line?

 [Automatically added by flyspray2trac: Operating System: All]

--

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


More information about the tor-bugs mailing list