paypal/kappa — pull request #47 by robertjustjones (2014-03-04 22:38:49+00:00)
Title: Add logging of read requests that redirect from first path.

This PR implements the logging discussed in enhancement issue #46. It sounds like you may have in mind to implement this in a different way long term so this is offered as clarification of the request intent.

For a registry read request where the package is not in the first path, the output in the log looks like the following where the INFO,REDIRECT line is added.
```
2014-03-04T22:23:26.098Z HAPI,RECEIVED {"id":"1393971806098-16338-25189","method":"get","url":"/hapi","agent":"node/v0.10.26 linux x64"}
2014-03-04T22:23:26.476Z HAPI,HANDLER {"msec":377.4348230063915}
2014-03-04T22:23:26.488Z INFO,REDIRECT {"package":"hapi","path":"https://registry.npmjs.org/"}
2014-03-04T22:23:26.511Z HAPI,RESPONSE unspecified
2014-03-04T22:23:26.511Z INFO,REQUEST 127.0.0.1 GET /hapi 200
```
There is no change to logging for a read request package that was found in the first path or for write requests.