I have gotten awstats to work, up to the point where I am ready to generate an updated stats file. When I try to, I have to go in and delete the old file or I get:
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file C:\\LogFiles\\xxxxx.com\\W3SVC714554437\\extend1.log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is: 2
This means each line in your web server log file need to have “MSIE Extended W3C log format” like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)
And this is an example of records AWStats found in your log file (the record number 50 in your log):
2008-11-12 19:43:23 GET /Portals/_default/Skins/FullWidth/contextpane_01.gif – - 98.191.20.5 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.2;+en-US;+rv:1.8.1.17)+Gecko/20080829+Firefox/2.0.0.17+(.NET+CLR+3.5.30729) http://www.xxxxx.com/ 304 211
Setup ('C:\\Inetpub\\DNN\\awstats/awstats.www
.xxxxx.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
As long as I delete the stats file, it works fine. What am I missing?