How to find out the Apache's error log file location on a server from the command line?

Step 1

Find out the httpd.conf file path.

Step 2

grep "^ErrorLog" <httpd.conf file path>

See also: