From 167be4baf0753f80a0ec388b5a86710cf696212b Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 18 Apr 2014 13:44:19 -0600 Subject: [PATCH] Minor change in logging: does not log 'Share data and stats recorded' anymore --- libs/shareProcessor.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/shareProcessor.js b/libs/shareProcessor.js index 815eb1a..a4e88c9 100644 --- a/libs/shareProcessor.js +++ b/libs/shareProcessor.js @@ -42,7 +42,6 @@ module.exports = function(logger, poolConfig){ this.handleShare = function(isValidShare, isValidBlock, shareData){ - var redisCommands = []; if (isValidShare){ @@ -71,8 +70,8 @@ module.exports = function(logger, poolConfig){ connection.multi(redisCommands).exec(function(err, replies){ if (err) logger.error(logSystem, logComponent, logSubCat, 'Error with share processor multi ' + JSON.stringify(err)); - else - logger.debug(logSystem, logComponent, logSubCat, 'Share data and stats recorded'); + //else + //logger.debug(logSystem, logComponent, logSubCat, 'Share data and stats recorded'); });