HEAD download size in log

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HEAD download size in log

james lee-13
Hello,

When I do a HEAD request jetty records the full file size in
the log file.

When I do a HEAD to apache it records "-".

Both analog/reportmagic and webalizer add the HEAD bytes to
the totals, which is false.

Problem in jetty or log analysis?

(Jetty version 5.1.4)



James.





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss
Reply | Threaded
Open this post in threaded view
|

Re: HEAD download size in log

Greg Wilkins-5
James,

I'd say this is more of a difference than a problem....
If you want, you can easily patch the NCSARequestLog class to have - for HEAD requests.

If others think this is the right way to act - I'll patch the next release.

cheers

James Lee wrote:

> Hello,
>
> When I do a HEAD request jetty records the full file size in
> the log file.
>
> When I do a HEAD to apache it records "-".
>
> Both analog/reportmagic and webalizer add the HEAD bytes to
> the totals, which is false.
>
> Problem in jetty or log analysis?
>
> (Jetty version 5.1.4)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss