0

I want to ask what does the last number on each request in the access log mean?

127.0.0.1 - - [27/Jul/2014:12:49:31 +0300] "GET /battleWS/startServer/11 HTTP/1.1" 200 159

In this case it is 159, occasionally it's empty - (dash). Can someone tell me what this is? Thanks!

php_nub_qq
  • 15,199
  • 21
  • 74
  • 144

2 Answers2

1

Documentation says: (%b) The last part 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 "-". To log "0" for no content, use %B instead.

The reason you see a "-" is because it asks if the resource has changed since last time, so it doesn't actually fetch it again.

Google is a lot faster than SO for such simple questions. :)

Brunis
  • 1,073
  • 8
  • 12
1

The last number which is returned on the apache log in the object size which is returned to the client ..

Understand more about the acces log here.

Community
  • 1
  • 1
Avinash Babu
  • 6,171
  • 3
  • 21
  • 26