fixing deprecation notice for morgan

v1.18.x
psychobunny 10 years ago
parent 345896e8eb
commit 53fdef1d17

@ -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) {

Loading…
Cancel
Save