]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Apr 2008 02:02:49 +0000 (20:02 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Apr 2008 02:02:49 +0000 (20:02 -0600)
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

index 3872e1974961864adc57895495d380aeed3d883d..24df692e495bb4173c92ba082fe236fc914d3269 100644 (file)
@@ -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);