We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ddc3e commit e9434e5Copy full SHA for e9434e5
package.json
@@ -49,7 +49,6 @@
49
"rxjs": "5.0.0-beta.6",
50
"simplemde": "^1.11.2",
51
"winston": "2.2.0",
52
- "winston-mongodb": "^0.5.3",
53
"zone.js": "^0.6.12"
54
},
55
"devDependencies": {
server/imports/startup/log.js
@@ -4,15 +4,11 @@
4
var winston = require('winston');
5
var nconf = require('nconf');
6
7
-require('winston-mongodb').MongoDB;
8
-
9
var log_collection_name = nconf.get('mongo_log_collection');
10
11
logs_collection = new Mongo.Collection(log_collection_name);
12
13
TuxLog = new (winston.Logger)({
14
transports: [
15
new (winston.transports.Console)(),
16
- new (winston.transports.MongoDB)({db: logs_collection.rawDatabase(), collection: log_collection_name})
17
]
18
});
0 commit comments