From a975e17e24f973d84707ca0fe091682553f7f78d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 18 Apr 2008 20:02:49 -0600 Subject: [PATCH] Author: Henrik Nordstrom Bug #2310: Incorrect default time/date log format The %tl and %tg logformat tags is meant to use the same date format as Apache/NCSA, but in Squid-3 there was a space instead of : between the date and time. --- src/access_log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/access_log.cc b/src/access_log.cc index 3872e19749..24df692e49 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -607,7 +607,7 @@ accessLogCustom(AccessLogEntry * al, customlog * log) spec = fmt->data.timespec; if (!spec) - spec = "%d/%b/%Y %H:%M:%S"; + spec = "%d/%b/%Y:%H:%M:%S"; if (fmt->type == LFT_TIME_LOCALTIME) t = localtime(&squid_curtime); -- 2.47.2