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:
parent
9a637f4fde
commit
a3afb4c4f5
@ -1,9 +1,11 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const log4js = require('log4js');
|
const log4js = require('log4js');
|
||||||
|
log4js.configure({
|
||||||
log4js.clearAppenders();
|
appenders: [
|
||||||
log4js.addAppender(log4js.appenders.console());
|
{ type: 'console' },
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
const logger = log4js.getLogger('unleash');
|
const logger = log4js.getLogger('unleash');
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
"install": "^0.8.1",
|
"install": "^0.8.1",
|
||||||
"joi": "^9.2.0",
|
"joi": "^9.2.0",
|
||||||
"knex": "^0.12.6",
|
"knex": "^0.12.6",
|
||||||
"log4js": "^0.6.38",
|
"log4js": "^1.0.1",
|
||||||
"moment": "^2.15.2",
|
"moment": "^2.15.2",
|
||||||
"pg": "^6.1.0",
|
"pg": "^6.1.0",
|
||||||
"serve-favicon": "^2.3.0",
|
"serve-favicon": "^2.3.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user