mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Add log4js config setting
This commit is contained in:
parent
2786807f2f
commit
f4b95c5ca4
6 changed files with 21 additions and 8 deletions
|
@ -25,7 +25,6 @@ var log4js = require('log4js')
|
|||
, async = require('async')
|
||||
;
|
||||
|
||||
// set up logger
|
||||
log4js.replaceConsole();
|
||||
|
||||
var settings
|
||||
|
@ -50,8 +49,6 @@ async.waterfall([
|
|||
hooks = require("ep_etherpad-lite/static/js/pluginfw/hooks");
|
||||
hooks.plugins = plugins;
|
||||
|
||||
//set loglevel
|
||||
log4js.setGlobalLogLevel(settings.loglevel);
|
||||
callback();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue