Merge pull request #49 from Pita/patch-1

Fixed a BUG that prevents connectlogger from working if loglevel is WARN
This commit is contained in:
Gareth Jones 2011-12-19 15:10:29 -08:00
commit b4a5227fc0

View File

@ -79,9 +79,10 @@ function getLogger(logger4js, options) {
thislogger.log(level, format(fmt, req, res));
}
};
next();
}
//ensure next gets always called
next();
};
}