[squid-users] How to log user access info in access.log

From: Kevin LEE <kevkev@dont-contact.us>
Date: Fri, 26 Oct 2001 10:19:01 +1000

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 - 08:26:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:08 MST