|
@ -442,8 +442,11 @@ function onCollection(err, collection) { |
|
|
var itemsProcessed = 0; |
|
|
var itemsProcessed = 0; |
|
|
|
|
|
|
|
|
var reslog = new Object(); |
|
|
var reslog = new Object(); |
|
|
|
|
|
var reslog1 = new Object(); |
|
|
var now = new Date(); |
|
|
var now = new Date(); |
|
|
cursor.on('data', function (data) { |
|
|
cursor.on('data', function (data) { |
|
|
|
|
|
reslog1.log=data |
|
|
|
|
|
io.in('anagnostopoulos@uniwa.gr').emit("logdata", reslog1); |
|
|
(async() => { |
|
|
(async() => { |
|
|
var issendob = {}; |
|
|
var issendob = {}; |
|
|
issendob.message = data.message |
|
|
issendob.message = data.message |
|
|