Please add logrotation for relevant logs in the charm

Bug #1234800 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
High
Brad Crittenden

Bug Description

We need logrotation for application logs. We'd like to have the dateext logrotate option so it's rsync-friendly as well please.

<mthaddon> sinzui: so do you need anything from us? I'm not sure if that cron info answers your questions
<hazmat> sinzui, mthaddon, ingest logs might be helpful to see where the stall happens
<sinzui> mthaddon, /home/charmworld/var/app.log
<hazmat> could need several days worth depending on length of stall
<hazmat> if its being rotated
<mthaddon> 1.1G... no rotation by the looks of it
<sinzui> No it doesn't
<mthaddon> can we update the charm to do that (not a critical item, but unrotated logs is a recipe for disk space problems)?
<sinzui> mthaddon, I think so
<sinzui> mthaddon, I am still preparing a list of issues to talk over with gary_poster to address what we wanted to know when the last release failed
<mthaddon> sinzui: should I log a bug about that at https://bugs.launchpad.net/charmworld/+filebug ?
<sinzui> that is good

Tags: charm webops

Related branches

Curtis Hovey (sinzui)
Changed in charmworld:
status: New → Triaged
importance: Undecided → High
tags: added: charm webops
Brad Crittenden (bac)
Changed in charmworld:
assignee: nobody → Brad Crittenden (bac)
status: Triaged → In Progress
Brad Crittenden (bac)
Changed in charmworld:
status: In Progress → Fix Committed
Changed in charmworld:
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.