Apache log format Logformat parameter list

Source: Internet
Author: User
Tags apache log
%a Remote IP Address
%A Native IP Address
%B the number of bytes transferred except HTTP headers
%b the number of bytes transmitted in CLF format other than HTTP headers, that is, when there is no byte transfer to show '-' instead of 0.
%{foobar}c the contents of the Cookiefoobar that are sent to the server in the request.
%d The time that the server spent processing the request, in micro units.
Value of%{foobar}e environment variable FOOBAR
%f file name
%H Remote Host
%H the protocol requested to use
%{foobar}i the content of the request header sent to the server Foobar:
%l the remote login name (from Identd, if supported), unless IdentityCheck is set to "on", a "-" is obtained.
Method of%m Request
%{foobar}n the contents of the annotation Foobar from another module.
%{foobar}o Answer header Foobar: content.
The%p server serves the standard port for this request.
%P the PID of the child process that provides services for this request.
The%{format}p serves the PID or TID (thread ID) of the request, and the format is scoped to the PID and Tid (2.0.46 and later versions) and Hextid (requires APR1.2.0 and more versions)
%q query string (if present by a "?" Boot, otherwise return empty string)
%r the first line of the request
%s status. For internal redirection requests, this state refers to the state of the original request, and-%>s refers to the state of the last request.
%t time, in normal log time format (Standard English format)
%{format}t time, expressed in the format specified by Strftime (3). (By default, in localized format)
%T the time, in seconds, that the request took to complete processing.
%u remote user name (based on authentication information; if return status (%s) is 401, may be false)
%u is the URL path of the request and does not contain a query string.
%v the standard servername that the request is serviced with.
%V the server name based on the usecanonicalname directive.
The connection state when the%x request completes: The x= connection is interrupted before the answer completes.
+ + to remain connected after the transfer is finished.
-= Close the connection after the reply is delivered.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.