RE: [squid-users] How Can I Change Time Zone and/or Time Format

From: Vadim Pushkin <wiskbroom@dont-contact.us>
Date: Wed, 04 Apr 2007 22:08:37 +0000

Thank you Henrik, I will just upgrade and make use of the logformat feature.

Regards.

.vp

>From: Henrik Nordstrom <henrik@henriknordstrom.net>

> > 1. I am using ICP between a pair of privately inter-connected Squid
> > servers, would changing the logformat in access.log affect anything
>within
> > my ICP setup?
>
>No, why should it?
>
> > 2. My reasons for changing logformat's date, or even running a script
>to
> > change this (which is what I guess I will do in the next two months
>before I
> > perform an upgrade) was to be able to track issues of various sorts. Can
> > anyone suggest a too/script that will allow me to parse the logs, in
>native
> > format, for what is contained in either columns 3 (Client address) or
> > column 7 (URL), modifying column 1 (date) to something suggested in the
> > FAQ?
> >
> > (perl -p s/^\d+\.\d+/localtime $&/e;)
>
>Parse in what way?
>
>The above perl snippet translates the timestamp into human readable
>local timezone.
>
>Regards
>Henrik
Received on Wed Apr 04 2007 - 16:08:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT