Librarian logfiles aren't rsync-friendly

Bug #587882 reported by Tom Haddon on 2010-05-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2010-05-31
tags: added: canonical-losa-lp
Gary Poster (gary) on 2010-06-18
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Robert Collins (lifeless) wrote : is the upstream bug for this - the specific bit is the 'nologrotation' patch (which henninge did!) -

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

Other bug subscribers

Remote bug watches

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