working on more informative log files

parent 24cde36f
Showing with 1 additions and 1 deletions
......@@ -61,7 +61,7 @@ module.exports.http = {
myRequestLogger: function (req, res, next) {
res.on("finish", function() {
sails..info(req.method, req.url, res.statusCode, req.allParams());
sails.log.info(req.method, req.url, res.statusCode, req.allParams());
});
return next();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment