Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.