NCSA web server (WSAS) extended/combined log format
关键字: web access logNCSA extended/combined log format
You can alter the default logging format to store more information about each request by altering the LogFormat directive in the Apache configuration file.
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
Where:
%h: Remote host
%l: Remote logname (from identd, if supplied)
%u: Remote user (from auth; may be bogus if return status (%s) is 401)
%t: Time, in common log format time format (standard english format)
\"
%r: First line of request
\"
%>s:Status. For requests that got internally redirected, this is the status of the *original* request --- %...>s for the last.
%b: Bytes sent, excluding HTTP headers. In CLF format i.e. a '-' rather than a 0 when no bytes are sent.
\"
%{Referer}i Referer
\"
\"
%{User-agent}i User-agent
\"
198.103.109.141 - - [29/Apr/2007:08:24:57 -0400] "GET /images/wordmark.png HTTP/1.1" 200 889
"https://jobs-emplois.psea-lefp.publiservice.gc.ca/ind100.do?lang=fr"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; PTCE2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"







评论排行榜