Forum Moderators: phranque
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
And this is the awstats log format
# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"
Now I need to make these two match which I have no idea how to do. I would like to have all stats displayed but I'm not sure how to rewrite the log to work.
Can anyone help?
Thanks :)
Wes
The Apache mod_log_config [httpd.apache.org] documentation defines the 'keys' you'll need to use in your CustomLog directive to make the formats match.
Jim