mcavage/node-restify — pull request #209 by thiagocaiubi (2012-09-12 20:07:48+00:00)
Title: Fix log binding when pre chaining

Use of req.log in server.pre was causing "TypeError: Cannot call method 'info' of undefined"

Example:

server.pre(function (req, res, next) {
req.log.info({req: req}, 'start');
return next();
});