move logging into debug environment variable .. sighs
This commit is contained in:
parent
5d0ccb5f8f
commit
cb28d10963
|
@ -228,6 +228,7 @@ exports.reloadSettings = function reloadSettings() {
|
|||
|
||||
log4js.configure(exports.logconfig);//Configure the logging appenders
|
||||
log4js.setGlobalLogLevel(exports.loglevel);//set loglevel
|
||||
process.env['DEBUG'] = 'socket.io:' + exports.loglevel; // Used by SocketIO for Debug
|
||||
log4js.replaceConsole();
|
||||
|
||||
if(!exports.sessionKey){ // If the secretKey isn't set we also create yet another unique value here
|
||||
|
|
Loading…
Reference in New Issue