This update finalizes the access_log syslog syntax changes, ending up with
the same syntax as used in syslog.conf. facility.priority
The original 'C' form also understood. LOG_USER4|LOG_INFO
#
-# $Id: cf.data.pre,v 1.454 2007/08/21 23:19:36 hno Exp $
+# $Id: cf.data.pre,v 1.455 2007/08/21 23:50:12 hno Exp $
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
# ----------------------------------------------------------
To log the request via syslog specify a filepath of "syslog":
- access_log syslog[:facility|priority] [format [acl1 [acl2 ....]]]
+ access_log syslog[:facility.priority] [format [acl1 [acl2 ....]]]
where facility could be any of:
authpriv, daemon, local9 .. local7 or user.
/*
- * $Id: logfile.cc,v 1.23 2007/08/21 16:41:06 hno Exp $
+ * $Id: logfile.cc,v 1.24 2007/08/21 23:50:12 hno Exp $
*
* DEBUG: section 50 Log file handling
* AUTHOR: Duane Wessels
if (path[6] != '\0') {
path += 7;
- char* delim = strchr(path, '|');
+ char* delim = strchr(path, '.');
+
+ if (!delim)
+ delim = strchr(path, '|');
if (delim != NULL)
*delim = '\0';