diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 0e83fe2..8e4273c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -431,7 +431,11 @@ function onCollection(err, collection) { var reslog = new Object(); var now = new Date(); cursor.on('data', function (data) { - var issend = getSHA256ofJSON(data) + var issendob = {}; + issendob.message = data.message + issendob.tailed_path = data.tailed_path + + var issend = getSHA256ofJSON(issend) //io.in('anagnostopoulos@uniwa.gr').emit("logdata", data); console.log('++++++++' + JSON.stringify(data));