- The remote host: the hostname or IP address of the computer requesting the Web page.
- The client user name…
- Authenticated user name…
- Date…
- The Request…
- Status…
- Bytes: the number of bytes that were sent in the server's response.
The Common Log Format (CLF) is a fairly basic form of Web server logging. It tracks seven different elements of the Web transaction. Each request is written to one line, with the different elements of the request separated by spaces (items in quotes or square brackets are considered one item), and items that aren't sent are listed as a hyphen or dash (-):
|
As you can see, no user agent data is logged under the Common Log Format. To log that, one must use the Combined Log Format (see here):
- Referrer: the URL of the page that linked to the requested document.
- User-agent: the name and version of the browser or other client software making the request.
The Combined Log Format uses the common log format but adds two items to the end:
|
Which log format was used in the freedomsite logs that Klatt consulted? Here is one entry:
Since this entry includes the referring url (blue underline), and the user agent string (red underline), it is the Combined Log Format.
(The quoted material above have been edited and reformated slightly; for less technical descriptions of log formats, see here and here; more technical, here.)
Other posts in the Klatt's clunkers series:
- Klatt's clunkers 1: Bernard Klatt given an award for tendentious testimony
- Klatt's clunkers 2: Bernard Klatt wrong on IE 6 date
- Klatt's clunkers 3: Bernard Klatt misreads the user agent string
- Klatt's clunkers 4: Bernard Klatt mistakes the combined log format for the common log format
- Klatt's clunkers 5: Bernard Klatt doesn't recognize RealPlayer browser
- Klatt's clunkers 6: Bernard Klatt on Rogers service in BC
- Klatt's Clunkers 7: Bernard Klatt doesn't understand Rogers web caching
- Klatt's Clunkers 8: Bernard Klatt comes close
No comments:
Post a Comment