From 44be154f9ae3f492eb72229e7b2e3fe13031af20 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 10 Dec 2020 21:46:21 +0200 Subject: [PATCH] add rest --- swarmlab-app/src/run/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 46e78fb..6729122 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -394,9 +394,9 @@ cors(corsOptions), (req, res, next) => { var reslab = '' db.collection('logs').find({}, {}).toArray() .then(item => { - console.log(item) + console.log('cccccccccccccccccccccccc '+item) - console.log(JSON.stringify(item)) + console.log(' vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv '+ JSON.stringify(item)) for (let i in item) { reslab = item[i].message.app_name console.log('------------------- ' + item[i].message.app_name)