Ticket #1171 (closed task: fixed)

Opened 4 years ago

Last modified 16 months ago

buildbot master: clean logs

Reported by: sascha_silbe Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
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

Changed 3 years ago by sascha_silbe

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.

Changed 16 months ago by bernie

  • cc bernie added

Changed 16 months ago by sascha_silbe

  • status changed from new to closed
  • resolution set to fixed

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.