Status

RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: rail, Assigned: cliang)

Tracking

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1462] )

(Reporter)

Description

3 years ago
Just noticed that the log file is huge:

/data/www/ship-it.mozilla.org/release-kickoff/logs
[raliiev@generic1.webapp.phx1 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

Updated

3 years ago
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1462]
(Assignee)

Updated

3 years ago
Assignee: server-ops-webops → cliang
(Assignee)

Comment 1

3 years ago
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.
(Assignee)

Comment 2

3 years ago
A spot check of a few servers shows that the logs are automatically rotating correctly. 

[cliang@generic3.webapp.phx1 logs]$ pwd
/data/www/ship-it.mozilla.org/release-kickoff/logs
[cliang@generic3.webapp.phx1 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
(Reporter)

Comment 3

3 years ago
\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.