From: wessels <> Date: Wed, 15 May 1996 11:13:25 +0000 (+0000) Subject: From: Hugh Anderson X-Git-Tag: SQUID_3_0_PRE1~6094 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92f80c9c9d4bc469fcdebea0cda4d9c47cfe8e56;p=thirdparty%2Fsquid.git From: Hugh Anderson 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). --- diff --git a/src/stat.cc b/src/stat.cc index 5a748830e0..ef139153a4 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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,