From: hno <> Date: Sun, 17 Dec 2000 20:27:37 +0000 (+0000) Subject: access_log none X-Git-Tag: SQUID_3_0_PRE1~1728 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cce7e6794ecd922d8cea9d1942cd43a2e4dd894c;p=thirdparty%2Fsquid.git access_log none --- diff --git a/src/access_log.cc b/src/access_log.cc index cb78057627..d7babefdcc 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -1,6 +1,6 @@ /* - * $Id: access_log.cc,v 1.62 2000/11/13 12:25:11 adrian Exp $ + * $Id: access_log.cc,v 1.63 2000/12/17 13:27:37 hno Exp $ * * DEBUG: section 46 Access Log * AUTHOR: Duane Wessels @@ -328,6 +328,8 @@ void accessLogInit(void) { assert(sizeof(log_tags) == (LOG_TYPE_MAX + 1) * sizeof(char *)); + if (strcasecmp (Config.Log.access, "none") == 0) + return; logfile = logfileOpen(Config.Log.access, MAX_URL << 1, 1); LogfileStatus = LOG_ENABLE; #if HEADERS_LOG