Opened 14 years ago
Closed 12 years ago
#1171 closed task (fixed)
buildbot master: clean logs
Reported by: | sascha_silbe | Owned by: | sascha_silbe |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | sugar-jhbuild | Version: | Git as of bugdate |
Severity: | Unspecified | Keywords: | |
Cc: | bernie | Distribution/OS: | Unspecified |
Bug Status: | Assigned |
Description
We need to cleans logs periodically, see upstream instructions.
Change History (3)
comment:1 Changed 14 years ago by sascha_silbe
comment:2 Changed 12 years ago by bernie
- Cc bernie added
comment:3 Changed 12 years ago by sascha_silbe
- Resolution set to fixed
- Status changed from new to closed
I've set up a cron job to remove twistd.logs except for the first ten rotations.
Build logs are automatically compressed by default since 0.7.10.
We should scan the tickets for old referenced build logs and attach them to the ticket so we can prune the old logs from buildbot, but that's a task for some other day when the build logs (rather than just twistd.log) get out of bounds.
Note: See
TracTickets for help on using
tickets.
I've (manually) cleaned the server logs (twistd.log.*) for a start (about 2GB!), but we still need to set up a cron job to do periodical cleaning.
Not sure for how long to keep the build logs, there are some Trac tickets referencing old build logs open for ages. More recent logs show the same error, but the link would break if we removed the old logs.