From: hno <> Date: Wed, 23 May 2001 02:31:34 +0000 (+0000) Subject: Bugzilla #160: X-Git-Tag: SQUID_3_0_PRE1~1506 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ffb5d9759d7ad5c95aa0cd48e80ebd999fcb6bc;p=thirdparty%2Fsquid.git Bugzilla #160: > My problem is that the referer_log file is still at 0 bytes. This cannot be > right. I have created a site with a clickthrough possibility, and it isn't > logging the http_referer. > > Has anybody had simular experiences? Or can point me in the right direction? > I look into that. The variable holding the logfile struct just had no value assigned. Here is a patch: --- diff --git a/src/referer.cc b/src/referer.cc index 9b7fc9406c..023797aa01 100644 --- a/src/referer.cc +++ b/src/referer.cc @@ -1,6 +1,6 @@ /* - * $Id: referer.cc,v 1.3 2001/01/12 00:37:20 wessels Exp $ + * $Id: referer.cc,v 1.4 2001/05/22 20:31:34 hno Exp $ * * DEBUG: section 40 User-Agent and Referer logging * AUTHOR: Joe Ramey (useragent) @@ -49,7 +49,7 @@ refererOpenLog(void) debug(40, 1) ("Referer logging is disabled.\n"); return; } - logfileOpen(Config.Log.referer, 0, 1); + refererlog = logfileOpen(Config.Log.referer, 0, 1); #endif }