jivid/akobi — pull request #24 by sharpsw (2014-05-22 02:27:20+00:00)
Title: Warren improved logging

Made a few logging improvements.

Logs are now output to the file akobi_output.log in addition to console.

PEP-8 compliant. Sample log output included below.

2014-05-21 22:23:52,936 [MainThread ] [INFO ] 304 GET /i/100/ (::1) 5.50ms
2014-05-21 22:23:53,197 [MainThread ] [INFO ] Web socket connection opened with interview_id 100
2014-05-21 22:23:54,165 [MainThread ] [INFO ] Received from web socket: {"datetime":"","type":"heartbeat","clientID":"","interviewID":"100","data":{}}
2014-05-21 22:23:54,165 [MainThread ] [INFO ] Got Heartbeat