diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 16dd6e5..a91a6a7 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -411,7 +411,7 @@ MongoClient.connect(mongourl, OPTS, function(err, client){ } else { const db = client.db('fluent'); //db.collection('log', onCollection); - var stream = db.log.find({}, { + var stream = db.collection('log').find({}, { tailable: true, awaitdata: true /* other options */