
Chapter 4 Web Server Logging
12:45:52 GET /sports/football.html 12:57:34 GET /sports/football.html
Fields
The Fields directive lists a sequence of field identifiers that specify the information recorded in each entry. Field identifiers may have one of the following forms:
widentifier: Relates to the transaction as a whole.
w
wprefix (header): Specifies the value of the HTTP header field header for transfer between parties defined by the value prefix. Fields specified in this manner always have the type <string>.
The following table describes defined prefixes.
Table 4-7. Prefix Descriptions
Prefix | Specifies |
|
|
c | Client |
|
|
s | Server |
|
|
r | Remote |
|
|
cs | Client to server |
|
|
sc | Server to client |
|
|
sr | Server to remote server (prefix used by |
| proxies) |
|
|
rs | Remote server to server (prefix used by |
| proxies) |
|
|
x | |
|
|
Examples
The following examples are defined identifiers that use prefixes:
sc(Referer): The Referer field in the reply.
Identifiers
The following table describes the W3C Extended log format identifiers that do not require a prefix.
112