Re: [squid-users] time format in access.log

2003-06-26 Thread Justin Hennessy
Mueller, If you have existing logs that you want to convert then use this script: # # Usage: cat access.log | ./dateconv.pl | less # while (<>) { if (/^(\d+)(\..+)$/) { $time=localtime($1); print substr($time,0,11).substr($time,20,4).substr($time,10,9)."$2\n"; } } Justin >>> "Mueller, Thomas" <

Re: AW: [squid-users] time format in access.log

2003-06-24 Thread Henrik Nordstrom
tis 2003-06-24 klockan 11.22 skrev Mueller, Thomas: > Is this alss possible in this Version: > > Version 2.3.STABLE4-hno.CVS or only in 2.5? The Squid-2.3-hno tree is obsolete and should not be used any longer, in fact it should never been used in production as the patch set has never been veri

AW: [squid-users] time format in access.log

2003-06-24 Thread Mueller, Thomas
, Thomas; [EMAIL PROTECTED] > Betreff: Re: [squid-users] time format in access.log > > > On Tuesday 24 June 2003 10.33, Mueller, Thomas wrote: > > > is it possible to change the time format from "1056382600.241" for > > example to "normal" time and date

Re: [squid-users] time format in access.log

2003-06-24 Thread Henrik Nordstrom
On Tuesday 24 June 2003 10.33, Mueller, Thomas wrote: > is it possible to change the time format from "1056382600.241" for > example to "normal" time and date format? You can switch to "common" log format, or use the custom log format patch available from http://devel.squid-cache.org/customlog/

[squid-users] time format in access.log

2003-06-24 Thread Mueller, Thomas
Dear list, is it possible to change the time format from "1056382600.241" for example to "normal" time and date format? Thanks in advance Tom