Just noticed that the log file is huge: /data/www/ship-it.mozilla.org/release-kickoff/logs [email@example.com logs]$ ls -lh total 1.7G -rw-r--r-- 1 apache apache 1.7G Jul 26 20:07 kickoff.log
Assignee: nobody → server-ops-webops
Component: Release Automation → WebOps: Product Delivery
Product: Release Engineering → Infrastructure & Operations
QA Contact: bhearsum → smani
Version: unspecified → other
I've added in a logrotate stanza that should rotate the logs on a weekly basis, forced an initial rotation, and verified that logging is still being written to the kickoff.log file. The rotated log files are currently set to be retained for twelve weeks. Please let me know if you need them for longer than that.
A spot check of a few servers shows that the logs are automatically rotating correctly. [firstname.lastname@example.org logs]$ pwd /data/www/ship-it.mozilla.org/release-kickoff/logs [email@example.com logs]$ ls -latr total 95720 drwxr-xr-x 10 root root 4096 Jun 23 00:25 .. -rw-r--r-- 1 apache apache 66320760 Jul 27 20:04 kickoff.log.1.gz -rw-r--r-- 1 apache apache 2122148 Aug 2 03:21 kickoff.log-20150802.gz drwxrwxr-x 2 root apache 4096 Aug 2 03:21 . -rw-r--r-- 1 apache apache 29449422 Aug 4 21:36 kickoff.log
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
\o/ Thank you!
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.