CityOfPhiladelphia/phl-airport-data — pull request #18 by davewalk (2013-08-18 06:47:34+00:00)
Title: Added Bunyan JSON logging

I've added JSON logging w/ [Bunyan](https://github.com/trentm/node-bunyan) in the following situations (including log level):

* REST endpoint request and response [info] - resTime duration will have to be tested on server - I cribbed this from Connect's responseTime middleware
* Redis/REST query error (hgetall) [error]
* Redis/websockets initial connection error [error]
* Redis/websockets query error (hgetall) [error]
* API start-up [debug]
* parser file error [error]
* Redis/parser insert error [error]
* Websockets connection [info]
* Websockets subscribe [info]
* Websockets closed [debug]
* Websockets error and connect_failed' events [error]

Logs are saved in a `/logs` directory. A new log file is created every day for five days at which point it begins writing over oldest log file. It may be a good idea to have a script that saves these log files somewhere iike S3.

Also including my Vagrant commit to add it to the development branch.

Thx!