RE: "Runtime" logging into access.log. How?

From: Didenko <didenko@dont-contact.us>
Date: Thu, 3 Jun 2004 15:55:37 +0300

>how do you check that access.log is updated?
>(tail -f .../logs/access.log?)

Yes. I've tested it one more time, I get this in access.log:
1086247054.100 141 12.16.191.19 TCP_MISS/200 4092 GET
http://gate-x/stat/temp.zip DOWNLOAD START dummy DIRECT/12.16.191.39
application/zip
1086247073.085 19126 12.16.191.19 TCP_MISS/200 15242392 GET
http://gate-x/stat/temp.zip DOWNLOAD END dummy DIRECT/12.16.191.39
application/zip

How can squid download portion of temp.zip in 15242392 bytes?

There is one more problem. I don't need to add DOWNLOAD START/END in
access.log because I'm using access.log analyse-scripts. Can I remove
this messages by simply commenting these lines in patch:
#+http->al.info = "DOWNLOAD END";
#+ http->al.info = "DOWNLOAD START";

Best regards,
Slivarez

-----Original Message-----
From: Michal Matusiak [mailto:m.matusiak@students.mimuw.edu.pl]
Sent: Thursday, June 03, 2004 3:25 PM
To: slivarez@list.ru
Cc: squid-dev@squid-cache.org
Subject: Re: "Runtime" logging into access.log. How?

hello

i've tested the patch and it worked fine.
how do you check that access.log is updated?
(tail -f .../logs/access.log?)

there is a possibility that writes to access.log are deferred
i will find out what is going on there...

few words about performance:
there is a really small overhead (one if ) in clientWriteComplete()
first time this function executes logging code (and calls
accessLogLog()) but the second and subsequent just skip logging code so
this should not consume much time ;)

regards
michal matusiak
Received on Thu Jun 03 2004 - 14:09:00 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 30 2004 - 12:00:03 MDT