Hi all,
I just recently installed squid in my office. I have installed
it in a linux RedHat 5.2 pc. Everything is working is fine. and Squid is
really great in performance and cherrs to the developers who have
developed it.
But now i have got one question to ask. Can anyone tell me how to modify
the access.log file in the /var/spool/squid/access.log location so that
the access.log even logs the time . Presently my access.log file says
something like this :
------------------------------------------------------------------------------------------------------------------------------------
955526205.308 100 192.168.1.99 TCP_IMS_HIT/304 159 GET
http://192.168.1.45:8080/ - NONE/- -
955526206.108 2 192.168.1.99 TCP_IMS_HIT/304 157 GET
http://192.168.1.45:8080/our_icons/ground.gif - NONE/- -
955526206.137 100 192.168.1.99 TCP_IMS_HIT/304 159 GET
http://192.168.1.45:8080/our_icons/logo_small.gif - NONE/- -
955526208.359 1744 192.168.1.19 TCP_MISS/302 206 GET
http://adforce.imgis.com/ - DIRECT/adforce.imgis.com -
955526208.368 2 192.168.1.19 TCP_HIT/200 2905 GET
http://ak.cache.imgis.com/images/Ad185967St1Sz1Sq1Id1.gif - NONE/-
image/gif
955526208.419 1798 192.168.1.19 TCP_MISS/302 429 GET
http://w12.hitbox.com/wc3/G23382889.cgi - DIRECT/w12.hitbox.com
text/html
955526210.620 231 192.168.1.54 TCP_REFRESH_HIT/200 39767 GET
http://192.168.1.45:8080/javastuff/java_docs/jdk1.2/docs/api/javax/swing/package-summary.html
- DIRECT/192.168.1.45 text/html
955526210.707 11 192.168.1.66 TCP_REFRESH_HIT/200 2894 GET
http://192.168.1.45:8080/index.html - DIRECT/192.168.1.45 text/html
--------------------------------------------------------------------------------------------------------------------------
i think the first field of this file denotes the time . but this is in
some other format ( I think it is the UTC format)
I would like to know whether i can modify the first field of this file
to say the time something like this
Apr 12 14:00:27 . I want the time to get printed in the IST format. or
in the format as the date command prints the date in a linux system.
Can Anyone can help in this !!!!!!!!!!!!!!!!!!!!!!!
I would be grateful enough................
Eagerly waiting for the reply
Thanks and Regards
K.Deepak
Network Engineer
AdventNet Development Centre (India) Pvt. Ltd
email : kdeepak@india.adventnet.com
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:55 MST