Table of Contents
The WWW superservice supports four log file formats which makes it possible to support a wide range of web servers like Apache™, IIS or Boa™.
Common Log Format (CLF) is a standard log format that was originally implemented in the CERN httpd web server but that is supported nowadays by most web servers. Apache™, IIS and Boa™ can be configured to log in that format.
The Common Log Format has the following format:
remotehostrfc931authuser[date] "request"statusbytes
where the fields have the following meaning:
remotehostThe host that made the request. This can be given as an IP address or a hostname.
rfc931The result of an ident lookup on the host. This is usually not used.
authuserThe authenticated username.
dateThe timestamp of the request.
requestThe first line of the HTTP request. Usually in the format
".
method file protocol"
statusThe result status of the request. i.e.
200, 301,
404, 500.
bytesThe size of the response sent back to the client.
Example of log lines in Common Log Format :
127.0.01 - - [11/03/2001 12:12:01 -0400] "GET / HTTP/1.0" 200 513
dsl1.myprovider.com - francis [11/03/2001 12:14:01 -0400] \
"GET /secret/ HTTP/1.0" 200 1256