Re: [squid-users] No date in Logfile entries

From: Kareem Mahgoub <kareem@dont-contact.us>
Date: Tue, 3 Apr 2001 08:23:06 +0300

Joerg,
you just need to change the option "http_emulated_log" to on
and then give the squid -k reconfigure
hope this will help
Regards,
kareem Mahgoub
----- Original Message -----
From: "Joerg Fritsch" <joerg.fritsch@planet-interkom.de>
To: "Joe Cooper" <joe@swelltech.com>; "Squid Users"
<squid-users@squid-cache.org>
Sent: Monday, April 02, 2001 10:47 PM
Subject: Re: [squid-users] No date in Logfile entries

> I understand, but I remember having had logs (18 months ago with a squid I
> did not configure myself) which showed the execat time like 10:23:24
> (readable, you know) ... and I think it must be possible to configure in
> squid.conf. isn't it ?
>
> --Joerg
>
>
> am 02.04.2001 20:53 Uhr schrieb Joe Cooper unter joe@swelltech.com:
>
> > What about the time field in your logs?
> >
> > 986228341.191
> > 986228342.383
> > 986228342.991
> >
> > How much more exact do you want your date/times? ;-) Or do you mean you
> > want to convert that to a slightly more readable format?
> >
> > This little perl script is what I use when I have such a hankering:
> >
> > #! /usr/bin/perl -p
> > s/^\d+\.\d+/localtime $&/e;
> >
> > There are also one-liner versions of this, and some other variants using
> > slightly different methods of conversion. Searching the archives will
> > turn up probably 3-5 different scripts and one-liners, I would think.
> >
> > Joerg Fritsch wrote:
> >
> >> Hi,
> >> my Logs look like this:
> >> 986228341.191 61450 10.200.254.252 TCP_MISS/000 28009 GET
> >> ftp://ftp8.ipswitch.com/ipswitch/product_downloads/f_x86t32.exe arture
> >> DIRECT/ftp8.ipswitch.com -
> >> 986228342.383 368 10.200.254.252 TCP_MISS/200 364 GET
> >> http://download.cnet.com/Images/red_arrow.gif arture
> >> DIRECT/download.cnet.com image/gif
> >> 986228342.991 3570 10.200.254.252 TCP_MISS/200 251 GET
> >> http://gserv-cnet.zdnet.com/clear/10064-0/TM=982272217326/Cnet.gif
arture
> >> DIRECT/gserv-cnet.zdne
> >>
> >> That is fine, but where can I configure squid to log the exact date /
time
> >> also ?
> >>
> >> Thanks,
> >> JOerg
> >
> > --
> > Joe Cooper <joe@swelltech.com>
> > Affordable Web Caching Proxy Appliances
> > http://www.swelltech.com
> >
>
>
Received on Mon Apr 02 2001 - 23:25:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:07 MST