If you configure Squid to require the user to authenticate then Squid
will log the username.
To Squid there is no such thing as "the using username". What there is
to Squid is
a) The HTTP proxy authentication user name
b) The username as reported by ident
Regards
Henrik Nordström
Squid hacker
Kevin LEE wrote:
>
> Hi all:
>
> I am running squid squid-2.3.STABLE4-10.7.1 in RedHat 7.1
>
> I have turn on the "emulate_httpd_log on" in the squid.conf to change
> the common file format.
>
> The output of access.log file is shown as follow:
>
> 192.168.1.8 - - [26/Oct/2001:09:36:15 +1000] "GET
> http://www.google.com/nav_next.gif HTTP/1.0" 200 1854 TCP_MISS:DIRECT
> 192.168.1.8 - - [26/Oct/2001:09:36:16 +1000] "GET
> http://www.google.com/images/res3.gif HTTP/1.0" 200 994 TCP_MISS:DIRECT
> 192.168.1.8 - - [26/Oct/2001:09:36:16 +1000] "GET
> http://www.google.com/nav_first.gif HTTP/1.0" 200 1312 TCP_MISS:DIRECT
> 192.168.1.8 - - [26/Oct/2001:09:36:16 +1000] "GET
> http://www.google.com/nav_page.gif HTTP/1.0" 200 712 TCP_MISS:DIRECT
> 192.168.1.8 - - [26/Oct/2001:09:36:17 +1000] "GET
> http://216.239.35.248/speed.gif HTTP/1.0" 200 363 TCP_MISS:DIRECT
>
> According to the doc. the username should be in between the client host
> ip address and the [Time Stamp].
> However, it appears to be - -.
>
> How to I configure squid to output the Unix username to the access
> logfile.
Received on Thu Oct 25 2001 - 12:29:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:08 MST