2π
The last part represents the size of the object sent back to the client. This is the detailed in standard Apache log format documentation:
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 supplement: In the Django development server Iβm running it says
0
if the server responds with status code301
The last part will only log the size of the body and does not include the headers. Since 301
is a permanent redirect; it has no body. The reason you are seeing 0
and not -
is configurable at the log format string.
The default format string is "%h %l %u %t \"%r\" %>s %b"
; if you replace %b
with %B
, it will log 0
instead of -
for those requests that have no body.