|
@ -444,7 +444,7 @@ var stream = db.collection('logs').find({}, { |
|
|
}).stream(); |
|
|
}).stream(); |
|
|
|
|
|
|
|
|
stream.on('data', function (doc) { |
|
|
stream.on('data', function (doc) { |
|
|
console.log('doc ' JSON.stringify(doc)) |
|
|
console.log('doc ' + JSON.stringify(doc)) |
|
|
//socket.write(JSON.stringify({'action': 'log','param': doc.log}));
|
|
|
//socket.write(JSON.stringify({'action': 'log','param': doc.log}));
|
|
|
}); |
|
|
}); |
|
|
/* |
|
|
/* |
|
|