From a543aa729435e269a8b2fe557c44f2171562f94f Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 21:57:25 +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 b8851ee..d492e42 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -410,7 +410,7 @@ function onCollection(err, collection) { cursor.on('data', function (data) { reslog.log = data reslog.date = convertDateToUTC(now) - console.log('data ' + data.value); + console.log('data ' + JSON.stringify(reslog)); var user = "anagnostopoulos@uniwa.gr" //io.in(user).emit("logdata", data.value); io.in(user).emit("logdata", reslog);