From 2cfe3c6d8fc45cd3f2517aab717f52c9a4f3cf36 Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Mon, 14 Apr 2008 23:03:20 +0200 Subject: [PATCH] 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. This is not seen in Squid-2. --- 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 9d1459529b..082a629462 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -600,7 +600,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