From 3ddbe0ea3d8482b03ea7f14cd7a19b7357bdc8b0 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 1d9a37411..ce83c8b43 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -43,7 +43,6 @@ class IPFS { } setServiceCheck() { - console.dir("setServiceCheck"); let self = this; let storageConfig = this.storageConfig; @@ -67,14 +66,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'}); }); });