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

From: Korell, Doug <DKorell@dont-contact.us>
Date: Tue, 3 Apr 2007 15:57:31 -0700

My complete line is (without quotes):
logformat squid %{%m/%d/%Y %H:%M:%S}tl %un %>A %>a %Ss
%ru

I didn't need all the information the default had and I wanted it tab
delimited. Then the access_log line references squid for the format.

-----Original Message-----
From: Vadim Pushkin [mailto:wiskbroom@hotmail.com]
Sent: Tuesday, April 03, 2007 2:03 PM
To: Korell, Doug; squid-users@squid-cache.org
Subject: RE: [squid-users] How Can I Change Time Zone and/or Time Format

Hello Doug;

So, your line in squid.conf looks like:

logformat "%{%m/%d/%Y %H:%M:%S}tl"

or

logformat Squid "%{%m/%d/%Y %H:%M:%S}tl"

Thank you in advance,

.vp

>From: "Korell, Doug" <DKorell@yrmc.org>

>Under logformat in squid.conf, I use "%{%m/%d/%Y %H:%M:%S}tl" which
>will format into localtime. No need then to convert from GMT.
>
>It will look like this: 04/03/2007 07:46:31
>
>
>
>-----Original Message-----
>From: Vadim Pushkin [mailto:wiskbroom@hotmail.com]
>Sent: Tuesday, April 03, 2007 1:48 PM
>To: squid-users@squid-cache.org
>Subject: [squid-users] How Can I Change Time Zone and/or Time Format
>
>Hello;
>
>I find it difficult to correlate data from my access.log, which starts
>off with something like this:
>
>1175633093.114
>
>How can I change "log_access?" into something in EST or a time format
>that others, myself included, can read?
>
>Thank you,
>
>.vp

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
Received on Tue Apr 03 2007 - 16:57:43 MDT

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