Apache has stopped writing to the account access logs on my server (for my personal use). It stopped the day after I enabled master global access log with custom LogFormat.
I did the configuration using this file:
/var/cpanel/templates/apache2_4/vhost.local
The web statistics sofware included in cPanel are not being updated.
These two logs are being updated:
/usr/local/apache/logs/access_log
/var/log/httpd/vhost-access_log (the master access log)
I did edit the vhost.local file in this way:
I did the configuration using this file:
/var/cpanel/templates/apache2_4/vhost.local
The web statistics sofware included in cPanel are not being updated.
These two logs are being updated:
/usr/local/apache/logs/access_log
/var/log/httpd/vhost-access_log (the master access log)
I did edit the vhost.local file in this way:
Code:
The default values here untouched
[%- END %]
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %k %D" vcommon
CustomLog /var/log/httpd/vhost-access_log vcommon
</VirtualHost>
Last edited: