Skip to content

Commit

Permalink
Merge pull request log4js-node#49 from Pita/patch-1
Browse files Browse the repository at this point in the history
Fixed a BUG that prevents connectlogger from working if loglevel is WARN
  • Loading branch information
Gareth Jones committed Dec 19, 2011
2 parents b152618 + 4cf1d1c commit b4a5227
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/connect-logger.js
Expand Up @@ -79,9 +79,10 @@ function getLogger(logger4js, options) {
thislogger.log(level, format(fmt, req, res));
}
};

next();
}

//ensure next gets always called
next();
};
}

Expand Down

0 comments on commit b4a5227

Please sign in to comment.