Fixed a BUG that prevents connectlogger from working if loglevel is WARN
This commit is contained in:
parent
e5d0b3348f
commit
4cf1d1cfa4
@ -79,9 +79,10 @@ function getLogger(logger4js, options) {
|
||||
thislogger.log(level, format(fmt, req, res));
|
||||
}
|
||||
};
|
||||
|
||||
next();
|
||||
}
|
||||
|
||||
//ensure next gets always called
|
||||
next();
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user