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)

defect
Not set
normal

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.
/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
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.