I have some virtual domains and everything works ok before I try to install new version of apache server. I think after that my apache access_log is make empty. Date and time of logs change ok (looks ok), but nothing is in log file. (Sorry for my bad English).
Some things from my httpd.conf
...
ErrorLog /var/log/httpd/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log combined
NameVirtualHost xxx.xx.xxx.xx:80
<VirtualHost xxx.xx.xxx.xx:80>
ServerName virtual1.net
ServerAlias
www.virtual1.net
DocumentRoot /home/virtual1/html
ErrorLog /home/virtual1/logs/error_log
CustomLog /home/virtual1/logs/access_log combined
<VirtualHost xxx.xx.xxx.xx:80>
ServerName virtual2.net
ServerAlias
www.virtual2.net
DocumentRoot /home/virtual2/html
ErrorLog /home/virtual2/logs/error_log
CustomLog /home/virtual2/logs/access_log combined
.....
Regards,
Miha