Closed
Bug 1554587
Opened 5 years ago
Closed 5 years ago
Switch from time-based to size-based rotation for moz-phab logs
Categories
(Conduit :: moz-phab, defect, P2)
Conduit
moz-phab
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
Details
(Keywords: conduit-triaged)
Attachments
(1 file)
At least one of our developers generates about 200MB of logs per day using moz-phab
. Given our retention period of 7 days that's a lot of disk.
We should move to logging.handlers.RotatingFileHandler()
with a maxBytes
of 50MB and a backupCount
of 5, bringing our disk usage to a maximum of 250MB.
We'll also need to add code to clean up old date-based files (e.g. moz-phab.log.2019-05-07
)
Our debug logs are very verbose, which has resulted in some developers
reporting ~200MB per day of logs, weighing in at 1.4GB in total.
Switch to size-based rotation, with a total cap of 250MB.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•