Closed Bug 1613283 Opened 6 years ago Closed 4 years ago

Rotate scriptworker log on mac-v3-signing pool

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: hneiva)

Details

Attachments

(1 file)

The scriptworker log will grow unbounded on the mac-v3-signing machines, eg mac-v3-signing12 accumulated 1.2G of messages over the 6 months to now. They have big enough disks that this isn't going to break them soon but it will be a problem at some point in the future.

Looks like we kept 10 days of history on our old AWS scriptworkers which seems fine for this too.

We will need to cope with the multiple paths
/builds/scriptworker/logs/worker.log
/builds/dep1/logs/worker.log
/builds/dep2/logs/worker.log
/builds/tb-dep/logs/worker.log
and lack of logrotate on mac.

Back in the old days, we had a RotatingFileHandler. Reimplementing that behind an option, for the mac signers only, may be one solution here. (Docs for RotatingFileHandler)

backlog cleanup

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Assignee: relops → hneiva
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: