From d7fd5f7df80be5e5e002d3e7d685dbaa7bb8ee08 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 21:26:46 +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 9aae84b..7bd3f2b 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -408,7 +408,7 @@ function onCollection(err, collection) { cursor.on('data', function (data) { console.log('data ' + data.value); var user = "anagnostopoulos@uniwa.gr" - io.in(user).emit("logdata", reslog); + io.in(user).emit("logdata", data.value); itemsProcessed++; });