From: Amos Jeffries Date: Sat, 19 Apr 2008 02:02:49 +0000 (-0600) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_0_STABLE5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a975e17e24f973d84707ca0fe091682553f7f78d;p=thirdparty%2Fsquid.git 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. --- 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);