Search squid archive

RE: How Can I Change Time Zone and/or Time Format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Two other thoughts before I jump into the upgrade;

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?

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;)

Many thanks,

.vp


RTFM???  I'd rather upgrade ;-)

But seriously, there are also a few other things that I would like to do that might be better done if I just upgrade.

Regards,

.vp


From: Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>

> I am using 2.5-STABLE12, is this supported in this version, or must I
> upgrade?

You must upgrade to be able to control the log format.

However, it's very easy to translate the timestamp into human readable
form. See the FAQ.

Regards
Henrik



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux