Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the numbers after the HTTP status codes in App Engine's dev_appserver.py logs?

When I run dev_appserver.py locally I see messages like this:

INFO     2014-01-05 02:19 ... default: "GET / HTTP/1.1" 200 793
INFO     2014-01-05 02:19 ... default: "GET /static/css/style.css HTTP/1.1" 200 1253
INFO     2014-01-05 02:20 ... default: "GET / HTTP/1.1" 200 801
...

What do the numbers at the end of the lines represent? In this case 793, 1253, 801?

like image 370
Max Heinritz Avatar asked Jan 05 '14 03:01

Max Heinritz


1 Answers

Following the Apache common log format convention, those numbers are the Content-Lengths of the respective responses.

If you're curious, look in the SDK in lib/cherrypy/cherrypy/_cplogging.py in access() (~line 207).

like image 142
Dave W. Smith Avatar answered Sep 28 '22 04:09

Dave W. Smith