Mailing List Archive

Common Log Format
Here is what I came up with. Also my previous message misdirected
you to the library.

http://www.hyperreal.com/apache/library/

The following information was found at:

http://www.w3.org/hypertext/WWW/Daemon/User/Config/Logging.html


The Common Logfile Format

The common logfile format is as follows:

remotehost rfc931 authuser [date] "request" status bytes

remotehost
Remote hostname (or IP number if DNS hostname is not available, or if DNSLookup is Off.

rfc931
The remote logname of the user.

authuser
The username as which the user has authenticated himself.

[date]
Date and time of the request.

"request"
The request line exactly as it came from the client.

status
The HTTP status code returned to the client.

bytes
The content-length of the document transferred.
Re: Common Log Format [ In reply to ]
On Tue, 4 Apr 1995, Randy Terbush wrote:
> The common logfile format is as follows:
>
> remotehost rfc931 authuser [date] "request" status bytes

For those writing log parsers, watch out! I've had spaces occur in
authuser and remote host, and spaces are perfectly valid in date and
request. So don't just split() on the space alone, even though the above
may suggest it.

Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@hotwired.com brian@hyperreal.com http://www.hotwired.com/Staff/brian/
Re: Common Log Format [ In reply to ]
> Here is what I came up with. Also my previous message misdirected
> you to the library.
>
> http://www.hyperreal.com/apache/library/
>
> The following information was found at:
>
> http://www.w3.org/hypertext/WWW/Daemon/User/Config/Logging.html
>
>
> The Common Logfile Format
>
[snip]

Thanks Randy,

can you put a link to that URL in the library. (good idea, a library).

Cheers,
Ay.