question about %b, %O (log_io) and %X formats

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

 



Hello

I run into strange log entries, which report very different
response size by %b and %O 
(from log_io module) log formats. 

My understanding was that %b gives the number of bytes sent to
client (actually the file size, 
if request was completed), and %O gives size of response+headers.


Further, if %X == X that means the response was not competed.

However, I run into records where %b is exactly the file size,
while %X is X, and %O is much
lower than %b.

As I rely upon %b to count file downloads, this seems very
disturbing. :( Do I miss something here?

Apache version 2.0.49 on Centos Linux. Below is a sample line
from log.

Thanks to everyone who can help!
Alex

xx.xx.xx.xx - - [13/Apr/2007:04:05:37 -0500] "GET /file.exe
HTTP/1.1" 200 2952375 "http://referer.com"; "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1)" 10200772 1176455137 X 354
132425

format is 
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D
%{%s}t %X %I %O"



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux