From c5de66cf24d26554b800c7e8bae8c73996ace441 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 21:18:42 +0200 Subject: [PATCH] mongo tail --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 0c80279..9aae84b 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -444,7 +444,7 @@ var stream = db.collection('logs').find({}, { }).stream(); 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})); }); /*