>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:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 3:25 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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

Reply via email to