I am learning about logging in python, so I am trying to find out where in the source code is the portion to format the line when you get this specific output: "GET /dashboard/ HTTP/1.1" 200 249176
? Also, what does 249176 mean?
I do not have a problem, and this question is to satisfy my curiosity.
I am really looking for the formatter for this logrecord. I also do not see what loghandler this is coming from (perhaps this is not comming from the logging module at all, and it is just a print command). I searched the source code and could not find where this is coming from, and would like to have a link to the source.
Here is what happens when I run my code.
September 05, 2013 - 05:38:50
Django version 1.5.1, using settings 'dapi.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[05/Sep/2013 05:38:57] "GET /dashboard/ HTTP/1.1" 200 249176
[05/Sep/2013 05:38:58] "GET /static/plugins/uniform/css/uniform.default.css HTTP/1.1" 304 0
[05/Sep/2013 05:38:58] "GET /static/plugins/bootstrap-daterangepicker/daterangepicker.css HTTP/1.1" 304 0