From bd13626d497ef0bbccc1c52a56473283cfbddf1b Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 7 Jul 2018 22:00:42 +0300 Subject: [PATCH] fix logger --- lib/modules/ipfs/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/modules/ipfs/index.js b/lib/modules/ipfs/index.js index 16808c9f1..f4a5fcc16 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -52,7 +52,6 @@ class IPFS { } setServiceCheck() { - console.dir("setServiceCheck"); let self = this; self.events.on('check:backOnline:IPFS', function () { @@ -66,14 +65,14 @@ class IPFS { self.events.request("services:register", 'IPFS', function (cb) { self._checkService((err, body) => { if (err) { - self.logger.info("IPFS unavailable"); + self.logger.trace("IPFS unavailable"); return cb({name: "IPFS ", status: 'off'}); } if (body.Version) { - self.logger.info("IPFS available"); + self.logger.trace("IPFS available"); return cb({name: ("IPFS " + body.Version), status: 'on'}); } - self.logger.info("IPFS available"); + self.logger.trace("IPFS available"); return cb({name: "IPFS ", status: 'on'}); }); });