mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 08:55:00 -04:00
Prepared logging code to be able to read log4js appenders from settings.json
This commit is contained in:
parent
970f3b181d
commit
a479fa144e
11 changed files with 38 additions and 12 deletions
|
@ -16,8 +16,10 @@
|
|||
|
||||
var jsdom = require('jsdom-nocontextifiy').jsdom;
|
||||
var log4js = require('log4js');
|
||||
log4js.configure('etherpad_logging.json');
|
||||
var settings = require('../../utils/Settings');
|
||||
|
||||
//Configure the logging appenders
|
||||
log4js.configure(settings.logconfig);
|
||||
|
||||
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
|
||||
var contentcollector = require("ep_etherpad-lite/static/js/contentcollector");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue