Access Log Templates may contain literal text and the following variables
delimited by %:
Variable
|
Description
|
base_uri
|
The requested uri.
|
content_length
|
The number of bytes sent to the client.
|
date
|
The current date in mm/dd/yy format.
|
edate
|
The current date in yyyy/mm/dd format.
|
error_code
|
Extended error code.
|
host
|
The name of the server that received the request.
|
ldate
|
The current date in mm/dd/yyyy format.
|
local_address
|
The IP address of the server that received the request.
|
port
|
The port used.
|
protocol
|
The request protocol.
|
referer
|
The URL from where the request was made.
|
remote_address
|
The IP address of the client making the request.
|
remote_host
|
The name of the client making the request.
|
remote_user
|
The client's name.
|
response_time
|
The number of milliseconds the server spent processing the client's request.
|
request_length
|
The number of bytes sent by the client.
|
request_method
|
The request method being made.
|
request_uri
|
The request made by the client.
|
query_string
|
Any form parameters sent.
|
server_service
|
The server service being processing the request.
|
status_code
|
The status code the server sent to the client.
|
time
|
The current time in hh:mm:ss format.
|
timestamp
|
The current date/time in mm/dd/yyyy:hh:mm:ss timezone format.
|
user_agent
|
The client making the request.
|
xdate
|
The current date in yyyy-mm-dd format.
|
xtimestamp
|
The current date/time in dd/mmm/yyyy:hh:mm:ss timezone format.
|
Access Log Header Templates may contain literal text and the following
variables delimited by
%:
Access Log Header Templates are used for specifying the fields that the
logger will record each time the server is started and at the beginning of
each access log file.
Changes made to configuration files will not be used until the server is
restarted.