Skip to main content

Apache error_log is in /var/log/messages file instead of /usr/local/apache/logs/error_log

Comments

3 comments

  • cPanelMichael
    Hello :) Are you using any third-party web servers on this system? Please post the output from: grep ErrorLog /usr/local/apache/conf/httpd.conf
    Thank you.
    0
  • garconcn
    [quote="cPanelMichael, post: 1656482">Hello :) Are you using any third-party web servers on this system? Please post the output from: grep ErrorLog /usr/local/apache/conf/httpd.conf
    Thank you.
    No 3rd-party web servers on this system. You are right, the errorlog was redirected to syslog in the httpd.conf. I might forgot I made the change before. Thank you. ErrorLog "logs/error_log" #ErrorLog "syslog:local5"
    0
  • cPanelMichael
    Remember to distill the changes after reverting back to the default value. To check whether your changes will be saved, use the /scripts/rebuildhttpdconf script to rebuild the httpd.conf file. Thank you.
    0

Please sign in to leave a comment.