Find apache error_log on CentOS

apache-2.2

I'd like to know where can I find apache's error log.
According to a website that I read, it should be at /var/log/httpd/error_log
But I don't have the httpd directory on /var/log

Best Answer

Check your httpd.conf

The LogFile variable tells you where apache is writing logs. This value is often (always?) relative to the ServerRoot variable.