Closed
Bug 1265519
Opened 9 years ago
Closed 9 years ago
httpd logs on hgweb[11-14] aren't using access_log, rotating logs
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Unassigned)
References
Details
Something is broken with the log rotation of httpd logs on the CentOS 7 hgweb[11-14] machines. The access_log and error_log files aren't getting written to. And our daily log rotation doesn't appear to be working.
I suspect this has to do with the upgrade to httpd 2.4 as part of the CentOS 7 switch.
Comment 1•9 years ago
|
||
/etc/logrotate.d/hg-httpd-logrotate needs systemd love:
postrotate
/etc/init.d/httpd reload > /dev/null
endscript
hgweb11.dmz.scl3# ll /etc/init.d/httpd
ls: cannot access /etc/init.d/httpd: No such file or directory
replace w/ systemctl reload httpd.service and should be good to go
Reporter | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/7e09b24894579fb058a3fcded7f2087ee85c3ba9
ansible/hg-web: replace httpd log rotate config with systemctl (bug 1265519)
Reporter | ||
Comment 3•9 years ago
|
||
Deployed switch to use systemctl.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•