Redwan - 2012-03-20

Hello All,

I am running awstats-7.0 on Centos 5.7, I've been trying to get awstats to
read my customised Apache logs, but with no avail.
my current configuration are as follow:
apache conf:
LogFormat "%h %l %u %v %t \"%U\" %b \"%{Referer}i\" %>s \"%{Cookie}i\" \"
%{User-Agent}i\"" combined
LogFormat "%{X-Forwarded-For}i %h %l %u %t %V %U%q %>s \"%{Referer}i\"
\"%{Cookie}i\" \"%{User-Agent}i\"" proxy
SetEnvIf X-Forwarded-For "^......." forwarded

awstats conf:
LogFormat = "%host %other %logname %virtualname %time1 %methodurl %code %other
%bytesd %refererquot %uaquot"

Sample logs: - - hostname.local "/2012-3-20-10-0-6.xml" 218 "-" 404 "-" " Apache-
HttpClient/4.1 (java 1.5)"

Error Message:
Your log file /Access/log/path must have a bad format or LogFormat parameter
setup does not match this format.
Your AWStats LogFormat parameter is:
%host %other %logname %time1 %methodurl %code %bytesd %extraX %refererquot
%uaquot %other
This means each line in your web server log file need to have the following
personalized log format:
%host %other %logname %time1 %methodurl %code %bytesd %extraX %refererquot
%uaquot %other.

I have also tried different combination, with no joy, also tried the native
supported logs, again no joy.

Any help will be highly appreciated.