[tor-bugs] #5583 [Tor]: Add option to overwrite logs

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 19 14:36:45 UTC 2014


#5583: Add option to overwrite logs
-------------------------+-------------------------------------------------
     Reporter:  bastik   |      Owner:
         Type:           |     Status:  needs_revision
  enhancement            |  Milestone:  Tor: 0.2.6.x-final
     Priority:  normal   |    Version:  Tor: unspecified
    Component:  Tor      |   Keywords:  overwrite log safer logging tor-
   Resolution:           |  relay small-feature easy
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------
Changes (by nickm):

 * status:  needs_review => needs_revision


Comment:

 As written, I think this patch will truncate the logs not only at startup,
 and not only when receiving a SIGHUP, but also every time any option is
 changed from the controller.

 One easy fix would be to define this option as startup-only.  I'm not sure
 that would give people the semantics they expect if they add new logs at
 runtime, though.

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


More information about the tor-bugs mailing list