On Wed, May 16, 2001 at 04:53:47PM +0200, Peter Kassies wrote:
> Hello all,
[cut]
> 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 -urN squid-2.4-200105182300.orig/src/referer.c
squid-2.4-200105182300/src/referer.c
--- squid-2.4-200105182300.orig/src/referer.c Fri Jan 12 01:51:51 2001
+++ squid-2.4-200105182300/src/referer.c Mon May 21 17:47:37 2001
@@ -49,7 +49,7 @@
debug(40, 1) ("Referer logging is disabled.\n");
return;
}
- logfileOpen(Config.Log.referer, 0, 1);
+ refererlog = logfileOpen(Config.Log.referer, 0, 1);
#endif
}
-- Marcel de RiedmattenReceived on Mon May 21 2001 - 10:02:24 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:13 MST