Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

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

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

3 Answers 3

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.

share|improve this answer

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

share|improve this answer

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 "-".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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