From 53fdef1d17d2c8cc995e2b2d21860e71fcf28908 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 6 Oct 2014 17:40:56 -0400 Subject: [PATCH] fixing deprecation notice for morgan --- src/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.js b/src/logger.js index f1da65555e..a6e929804d 100644 --- a/src/logger.js +++ b/src/logger.js @@ -125,7 +125,7 @@ var opts = { /* * Always initialize "ofn" (original function) with the original logger function */ - opts.express.ofn = morgan({stream : opts.streams.log.f}); + opts.express.ofn = morgan('combined', {stream : opts.streams.log.f}); }; Logger.expressLogger = function(req,res,next) {