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);