mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Upgrade log4js to v0.5
This commit is contained in:
parent
4416210471
commit
ff7cf991c9
3 changed files with 9 additions and 4 deletions
|
@ -95,6 +95,7 @@ exports.expressConfigure = function (hook_name, args, cb) {
|
|||
// Not installing the log4js connect logger when the log level has a higher severity than INFO since it would not log at that level anyway.
|
||||
if (!(settings.loglevel === "WARN" || settings.loglevel == "ERROR"))
|
||||
args.app.use(log4js.connectLogger(httpLogger, { level: log4js.levels.INFO, format: ':status, :method :url'}));
|
||||
|
||||
args.app.use(express.cookieParser());
|
||||
|
||||
/* Do not let express create the session, so that we can retain a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue