diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 3b19b39..727801c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -442,8 +442,11 @@ function onCollection(err, collection) { var itemsProcessed = 0; var reslog = new Object(); + var reslog1 = new Object(); var now = new Date(); cursor.on('data', function (data) { + reslog1.log=data + io.in('anagnostopoulos@uniwa.gr').emit("logdata", reslog1); (async() => { var issendob = {}; issendob.message = data.message