diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 9093b2c..1377929 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -412,11 +412,14 @@ MongoClient.connect(mongourl, mongooptions, function(err, db){ if(err){ console.log(err); } else { + db.collection('log', onCollection); + /* db.collection(function(err, collections) { collections.forEach(function(coll) { console.log(coll.s.name); }); }); + */ } });