Apache logging to wrong file - TechRepublic
Question
December 21, 2006 at 06:30 PM
choppit

Apache logging to wrong file

by choppit . Updated 19 years, 7 months ago

I have a Centos Apache 2.0.52 server called ‘myserver’ which isn’t logging as I’d expect.

The default ‘myserver’ is set to log to logs/access_log

I also have a number of virtual hosts configured;

vhost1 logs to logs/vhost1_access_log
vhost2 logs to logs/vhost2_access_log…..etc

All vhosts are logging to the correct files but ‘myserver’ is logging to vhost2_access_log, in fact nothing gets logged in access_log as I believe it should for anything not related to a virtual host.

Any ideas?

This discussion is locked

All Comments