1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

upgrade log4js to 1.0.1

This commit is contained in:
ivaosthu 2016-11-10 21:46:37 +01:00
parent 9a637f4fde
commit a3afb4c4f5
2 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,11 @@
'use strict';
const log4js = require('log4js');
log4js.clearAppenders();
log4js.addAppender(log4js.appenders.console());
log4js.configure({
appenders: [
{ type: 'console' },
]
});
const logger = log4js.getLogger('unleash');

View File

@ -61,7 +61,7 @@
"install": "^0.8.1",
"joi": "^9.2.0",
"knex": "^0.12.6",
"log4js": "^0.6.38",
"log4js": "^1.0.1",
"moment": "^2.15.2",
"pg": "^6.1.0",
"serve-favicon": "^2.3.0",