[tor-bugs] #3293 [BridgeDB]: bridgedb backs up assignments.log file but has no rotation strategy

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 26 08:38:29 UTC 2011


#3293: bridgedb backs up assignments.log file but has no rotation strategy
----------------------+-----------------------------------------------------
 Reporter:  arma      |          Owner:     
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:     
Component:  BridgeDB  |        Version:     
 Keywords:            |         Parent:     
   Points:            |   Actualpoints:     
----------------------+-----------------------------------------------------
 The bridgedb user has this cron tab line:
 {{{
 @hourly rsync -e 'ssh -i .ssh/id_sync_assign' -av run/assignments.log
 bridges at xxx:assignments> /dev/null
 }}}

 But if assignments.log gets huge, we'll want to mv it somewhere and
 compress it, like I did today.

 Then the next time bridgedb appends to assignments.log, the cron will blow
 away all the lines in the backup version of the file.

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


More information about the tor-bugs mailing list