Browse Source

mongo tail

master
zeus 4 years ago
parent
commit
7463f824ea
  1. 3
      swarmlab-app/src/run/app.js

3
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);
});
});
*/
}
});

Loading…
Cancel
Save