Question Locked

Apache logging to wrong file

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

1 reply

This discussion is closed to new replies.