Added user-configurable logging defaulting to console logging

This commit is contained in:
Uli Köhler 2012-09-20 09:40:41 +02:00
parent cd3e65e043
commit caf125a798
10 changed files with 12 additions and 1 deletions

View file

@ -11,7 +11,7 @@ if(process.argv.length != 3)
var padId = process.argv[2];
//initalize the database
var log4js = require("log4js");
var log4js = require("log4js").configure('etherpad_logging.json');
log4js.setGlobalLogLevel("INFO");
var async = require("async");
var db = require('../node/db/DB');