Search squid archive

Re: Re[squid-users] cording content length prior to transfer

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

 



>
> Hi,
>
> Object sizes are logged in access.log (as per the logformat) only after
> the
> transfer of that object is complete. But is there any way to record the
> content-length of an object before the transfer actually begins? I found
> that running debug (level 9) on HTTP header section (55) prints the
> content-length of objects in cache.log prior to transfer. But cache.log is
> quite difficult to parse. Is there any other way of recording the
> content-length prior to transfer (without modifying the source)?
>
> Thanks & Regards,
> Kaustav
> --

Not really.

The Content-Length header can be logged by using a custom logformat
including the "%{Content-Length}>h" tag.

BUT:
 * Content-Length is not always available.
 * logging is still done after the request has finished due to other
information.

Amos


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

  Powered by Linux