Browse files

grammar fix

  • Loading branch information...
1 parent e75502a commit 8b746b7a0ed24870bb7678ed7ff3f8d9dc1ce0e8 @trentm committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 server.js
View
4 server.js
@@ -33,10 +33,10 @@ var server = restify.createServer({
});
server.use(restify.queryParser());
-// Let's log every incoming request. `req.log` is a "child" or our logger
+// Let's log every incoming request. `req.log` is a "child" of our logger
// with the following fields added by restify:
// - a `req_id` UUID (to collate all log records for a particular request)
-// - a `route` name (to identify which handler this was routed to)
+// - a `route` (to identify which handler this was routed to)
server.pre(function (req, res, next) {
req.log.info({req: req}, 'start');
return next();

0 comments on commit 8b746b7

Please sign in to comment.