Skip to content

Commit e9434e5

Browse files
committed
Updating versions
1 parent 57ddc3e commit e9434e5

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"rxjs": "5.0.0-beta.6",
5050
"simplemde": "^1.11.2",
5151
"winston": "2.2.0",
52-
"winston-mongodb": "^0.5.3",
5352
"zone.js": "^0.6.12"
5453
},
5554
"devDependencies": {

server/imports/startup/log.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@
44
var winston = require('winston');
55
var nconf = require('nconf');
66

7-
require('winston-mongodb').MongoDB;
8-
97
var log_collection_name = nconf.get('mongo_log_collection');
10-
118
logs_collection = new Mongo.Collection(log_collection_name);
129

1310
TuxLog = new (winston.Logger)({
1411
transports: [
1512
new (winston.transports.Console)(),
16-
new (winston.transports.MongoDB)({db: logs_collection.rawDatabase(), collection: log_collection_name})
1713
]
1814
});

0 commit comments

Comments
 (0)