/*
- * $Id: cache_cf.cc,v 1.445 2003/07/06 21:50:55 hno Exp $
+ * $Id: cache_cf.cc,v 1.446 2003/07/16 12:54:42 hno Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
static void dump_cachedir_option_maxsize(StoreEntry * e, const char *option, SwapDir const * sd);
static void parse_logformat(logformat ** logformat_definitions);
static void parse_access_log(customlog ** customlog_definitions);
+static int check_null_access_log(customlog *customlog_definitions);
+
static void dump_logformat(StoreEntry * entry, const char *name, logformat * definitions);
static void dump_access_log(StoreEntry * entry, const char *name, customlog * definitions);
static void free_logformat(logformat ** definitions);
*logs = cl;
}
+static int
+check_null_access_log(customlog *customlog_definitions)
+{
+ return customlog_definitions == NULL;
+}
+
static void
dump_logformat(StoreEntry * entry, const char *name, logformat * definitions)
{
#
-# $Id: cf.data.pre,v 1.332 2003/07/10 15:55:22 hno Exp $
+# $Id: cf.data.pre,v 1.333 2003/07/16 12:54:42 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
TYPE: access_log
LOC: Config.Log.accesslogs
DEFAULT: none
+DEFAULT_IF_NONE: @DEFAULT_ACCESS_LOG@
DOC_START
These files log client request activities. Has a line every HTTP or
ICP request. The format is:
access_log <filepath> [<logformat name> [acl acl ...]]
+ access_log none [acl acl ...]]
Will log to the specified file using the specified format (which
must be defined in a logformat directive) those entries which match
ALL the acl's specified (which must be defined in acl clauses).
If no acl is specified, all requests will be logged to this file.
- To disable logging of a request use the filepath "none", in which
- case a logformat name should not be specified.
-NOCOMMENT_START
-access_log @DEFAULT_ACCESS_LOG@ squid
-NOCOMMENT_END
+ To disable logging of a request specify "none".
DOC_END