]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From: Hugh Anderson <h_anders@ee.cit.ac.nz>
authorwessels <>
Wed, 15 May 1996 11:13:25 +0000 (11:13 +0000)
committerwessels <>
Wed, 15 May 1996 11:13:25 +0000 (11:13 +0000)
Thanks for the alpha copy of squid. It certainly is doing identd lookups now,
but it doesn't appear to log the identd names to the access-log file (as the
second field in it).

src/stat.cc

index 5a748830e067a6d91db980fa09c52b888e8a1465..ef139153a4e435ef89417db4ccd1904c0c2c15c3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stat.cc,v 1.33 1996/05/01 22:38:57 wessels Exp $ */
+/* $Id: stat.cc,v 1.34 1996/05/15 05:13:25 wessels Exp $ */
 
 /*
  * DEBUG: Section 18          stat
@@ -696,8 +696,14 @@ void log_append(obj, url, id, size, action, method, http_code, msec, ident)
 
     if (obj->logfile_status == LOG_ENABLE) {
        if (emulate_httpd_log)
-           sprintf(tmp, "%s - - [%s] \"%s %s\" %s %d\n",
-               id, mkhttpdlogtime(&squid_curtime), method, url, action, size);
+           sprintf(tmp, "%s %s - [%s] \"%s %s\" %s %d\n",
+               id,
+               ident,
+               mkhttpdlogtime(&squid_curtime),
+               method,
+               url,
+               action,
+               size);
        else
            sprintf(tmp, "%9d.%03d %6d %s %s/%03d %d %s %s %s\n",
                (int) current_time.tv_sec,