Rotate scriptworker log on mac-v3-signing pool
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Tracking
(Not tracked)
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.
Comment 1•6 years ago
•
|
||
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
| Assignee | ||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
| Assignee | ||
Comment 4•4 years ago
|
||
| Assignee | ||
Updated•4 years ago
|
Description
•