Re: [SQU] Bug in access_log.c

From: Duane Wessels <wessels@dont-contact.us>
Date: Tue, 7 Nov 2000 13:47:29 -0700 (MST)

On Tue, 7 Nov 2000, Drash, Jim [EESUS] wrote:

> In the accessLogCommon function, the memBufPrintf line reads:
>
> memBufPrintf(mb, "%s %s - [%s] \"%s %s HTTP/%.1f\" %d %d %s:%s",
>
> it should read:
>
> memBufPrintf(mb, "%s - %s [%s] \"%s %s HTTP/%.1f\" %d %d %s:%s",
>
> In the Common Log format the "userid" is supposed to be the 3rd field in the
> log not the 2nd.

The second field is the name derived from the RFC931 "ident"
protocol. The third field is the name derived from HTTP authentication.

Currently, Squid has just one "username" field, so this is confusing.
RFC931 identification was supported first, so thats why the user name
goes into the second field of the common log.

Duane W.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 07 2000 - 13:49:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:16 MST