We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f929190 commit ff21689Copy full SHA for ff21689
package.json
@@ -49,8 +49,7 @@
49
"rxjs": "5.0.0-beta.6",
50
"simplemde": "^1.11.2",
51
"winston": "2.2.0",
52
- "zone.js": "^0.6.12",
53
- "winston-mongodb": "^0.5.3"
+ "zone.js": "^0.6.12"
54
},
55
"devDependencies": {
56
"bson": "^0.5.0",
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