Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

may i know what is the default location for the error logs for inidividual sites/virtualhost in apache + centos? Also, if I want to customize the location of the log file, do I define errorLog under the VirtualHost in http.conf (can't seem to get it working)

share|improve this question

1 Answer 1

The httpd logs files are located by default under /var/log/httpd in CentOS.

Yes, you can add ErrorLog in your virtual host to specify a different error log file for that VH.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.