SOURCES: squid-2.5.STABLE4-apache-like-combined-log.patch - update...
gotar
gotar at pld-linux.org
Sun Oct 7 12:19:29 CEST 2007
Author: gotar Date: Sun Oct 7 10:19:29 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 2.5.STABLE14,
NOTE: http://devel.squid-cache.org/customlog/
---- Files affected:
SOURCES:
squid-2.5.STABLE4-apache-like-combined-log.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch
diff -u SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch:1.3 SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch:1.4
--- SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch:1.3 Mon Sep 5 13:47:40 2005
+++ SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch Sun Oct 7 12:19:24 2007
@@ -14,9 +14,9 @@
client = inet_ntoa(al->cache.caddr);
user1 = accessLogFormatName(al->cache.authuser);
user2 = accessLogFormatName(al->cache.rfc931);
-- logfilePrintf(logfile, "%s %s %s [%s] \"%s %s HTTP/%d.%d\" %d %ld %s:%s",
+- logfilePrintf(logfile, "%s %s %s [%s] \"%s %s HTTP/%d.%d\" %d %" PRINTF_OFF_T " %s:%s",
+
-+ logfilePrintf(logfile, "%s %s %s [%s] \"%s %s HTTP/%d.%d\" %d %ld \"%s\" \"%s\"",
++ logfilePrintf(logfile, "%s %s %s [%s] \"%s %s HTTP/%d.%d\" %d %" PRINTF_OFF_T " \"%s\" \"%s\"",
client,
- user2 ? user2 : dash_str,
- user1 ? user1 : dash_str,
@@ -25,7 +25,7 @@
- al->url,
- al->http.version.major, al->http.version.minor,
- al->http.code,
-- (long int) al->cache.size,
+- al->cache.size,
- log_tags[al->cache.code],
- hier_strings[al->hier.code]);
+ user2 ? user2 : dash_str,
@@ -35,7 +35,7 @@
+ (al->http_uri ? al->http_uri : al->url),
+ al->http.version.major, al->http.version.minor,
+ al->http.code,
-+ (long int) al->cache.size,
++ al->cache.size,
+ httpHeaderHas( req_hdr, HDR_REFERER ) ?
+ httpHeaderGetStr( req_hdr, HDR_REFERER ) :
+ dash_str, // Referer if we have it, else dash_str.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/squid-2.5.STABLE4-apache-like-combined-log.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list