Librarian logfiles aren't rsync-friendly

Bug #587882 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
William Grant

Bug Description

The librarian uses twisted's default logging setup which rotates logs every 977K and appends a sequential number to them each time. This means the contents change by filename each time, which is very unfriendly to rsync. We should be using a dateext option so that file contents don't change when rotated. Compression of older logs would be nice and timed logrotations rather than done by filesize would also be good. If there's a signal we can to the librarian to trigger it to use a new logfile this would be great, as we can then manage logrotation externally.

Tom Haddon (mthaddon)
tags: added: canonical-losa-lp
Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Robert Collins (lifeless) wrote :

http://twistedmatrix.com/trac/ticket/3363 is the upstream bug for this - the specific bit is the 'nologrotation' patch (which henninge did!) - http://twistedmatrix.com/trac/ticket/3363#comment:7

William Grant (wgrant)
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.