/*
- * $Id: main.cc,v 1.338 2001/05/19 19:32:02 hno Exp $
+ * $Id: main.cc,v 1.339 2001/05/20 00:09:25 hno Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
storeDirSync(); /* Flush log writes */
storeLogClose();
accessLogClose();
+ useragentLogClose();
#if WIP_FWD_LOG
fwdUninit();
#endif
/*
- * $Id: protos.h,v 1.405 2001/05/08 15:24:35 hno Exp $
+ * $Id: protos.h,v 1.406 2001/05/20 00:09:25 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
extern void useragentOpenLog(void);
extern void useragentRotateLog(void);
extern void logUserAgent(const char *, const char *);
+extern void useragentLogClose(void);
extern void refererOpenLog(void);
extern void refererRotateLog(void);
extern void logReferer(const char *, const char *, const char *);
/*
- * $Id: useragent.cc,v 1.24 2001/03/04 00:50:26 wessels Exp $
+ * $Id: useragent.cc,v 1.25 2001/05/20 00:09:25 hno Exp $
*
* DEBUG: section 40 User-Agent logging
* AUTHOR: Joe Ramey <ramey@csc.ti.com>
agent);
#endif
}
+
+void
+useragentLogClose(void)
+{
+#if USE_USERAGENT_LOG
+ logfileClose(useragentlog);
+ useragentlog = NULL;
+#endif
+}