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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 16 12:02:31 UTC 2014


#5583: Add option to overwrite logs
-------------------------+-------------------------------------------------
     Reporter:  bastik   |      Owner:
         Type:           |     Status:  closed
  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
  implemented            |  Parent ID:
Actual Points:           |
       Points:           |
-------------------------+-------------------------------------------------
Changes (by nickm):

 * status:  needs_review => closed
 * resolution:   => implemented


Comment:

 Merged!

 I'm not completely sure that overwrite-on-sighup is what people want with
 this option, but I'm also not sure it isn't what people want.  We can
 tweak the UI if that behavior isn't desired, I guess.

 As for the ftruncate call -- we need to be a little careful there, since
 not all ftruncate() versions behave the same, and windows doesn't have
 ftruncate.  I did a portable ftruncate in
 867f5e6a7602fe5cf54686aa04995eaabaea4c80.

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


More information about the tor-bugs mailing list