[tor-bugs] #5584 [Tor Relay]: Raise awareness of safer logging

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Apr 7 08:34:12 UTC 2012


#5584: Raise awareness of safer logging
---------------------------------------------+------------------------------
 Reporter:  bastik                           |          Owner:                  
     Type:  enhancement                      |         Status:  new             
 Priority:  normal                           |      Milestone:  Tor: unspecified
Component:  Tor Relay                        |        Version:  Tor: unspecified
 Keywords:  easy hack, awareness of logging  |         Parent:                  
   Points:                                   |   Actualpoints:                  
---------------------------------------------+------------------------------

Comment(by bastik):

 Replying to [comment:1 arma]:
 > The default is to log at log-level notice, and we aim for all logs at
 that level to not be harmful to keep.
 I see those in vidalia, those don't get written to disc.


 > So we definitely shouldn't do this "whenever logging is enabled". For
 example, it really frustrates me that the fedora rpm chose to turn off
 logs entirely -- we output useful things to the log, for example if your
 time is wrong, and it's worth having them.
 It wasn't my intention to scare people, so they stop giving out notices,
 which are indeed useful. I just wanted it be simple. It's like the "Tor
 can't help you if you use it wrong!" line, which gets logged even when
 "Bridge" is enabled and "SocksPort" is set to "0". (Which seemed
 unconditional to me, so I used it for this ticket)

 > That said, we might consider a line like this if you are at info or more
 verbose, or if you set SafeLogging to 0.
 A conditional logging line sounds wise and was what I intended, but kept
 it simple. I agree with the conditional logging.

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


More information about the tor-bugs mailing list