I have migrated a Cpanel based website from one server to another but after migration, AWStat stopped updating. While updating AWstats was showing following error



When I checked the domlogs of the domain it shows following entries only

root@server [~]# cat /usr/local/apache/domlogs/domainname.com
combined
combined
combined
combined

I have searched online and found that the LogFormat was not properly defined in httpd.conf file, due to which apache was just logging the word “combined” over and over instead of the correct information.

To fix the issue

1) I have added following LogFormat in httpd.conf file

LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined


2)
Restarted Apache Service.