browsing access logs, sometimes I see

"POST / HTTP/1.0" 200

which should be OK

but other times I see

"POST / HTTP/1.0" 200 172

What does the 172 next to 200 mean?

Also, I see a few with 7250, or 44

link|improve this question
feedback

migrated from stackoverflow.com Aug 9 '11 at 1:50

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 6 down vote accepted

That is a post to the access log, which by default is formatted like this:

LogFormat "%h %l %u %t \"%r\" %>s %b" common

Where %b is your elusive '172', the size of the response in bytes. see this site.

link|improve this answer
feedback

The last entry indicates the size of the object returned to the client, not including the response headers. If no content was returned to the client, this value will be "-".

From: http://httpd.apache.org/docs/2.2/logs.html#accesslog, Section Common Log Format

link|improve this answer
feedback

According to Ken Quon at this link:

For default Apache log files, that would be the size of the object (number of bytes) returned to the client, not including the response headers. If no content was returned to the client, this value will be "-".

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.