logo
Published on Technical articles on: Windows servers, Apache Web Server, MySQL, PHP, IIS (http://www.sitebuddy.com)

Apache Preferred Awstats Custom Log Formats

By chris
Created 31 Jan 2006 - 12:10am

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %V" combinedv

"Remote host" "Remote logname" "Remote user" "Time the request was received" "First line of request" "Status" "Size of response in bytes" "Referer" "User-Agent" "The server name"

More details on Apache logs: Apache Better Log Rotation mod_log_rotate

Ref: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Source URL:
http://www.sitebuddy.com/Awstats/Apache/combinedv