Apache logging to wrong file

By Choppit ·
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 conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums