Skip to main content

Apache error_log missing after logrotate

Comments

3 comments

  • cPanelMichael
    Hello :) Thank you for updating this thread with the outcome. Note that LogRotate is a third-party application that is not managed by cPanel. You may want to have the Apache error_log managed by cpanellogd and have it rotated per the option in: "WHM Home " Service Configuration " Apache Configuration " Log Rotation" Thank you.
    0
  • tolouei
    But Im using cpanellogd, whm + centos 6.5 maybe I need to disable default logrotate from centos: chmod -x /etc/cron.daily/logwatch with this, only cpanellogd act. I think in this case system's logrotate act first then cpanellogd
    0
  • cPanelMichael
    Yes, you may want to consider disabling LogRotate if you want cPanel to manage the Apache error_log rotation. Thank you.
    0

Please sign in to leave a comment.