From ecb28bc3e90160b34833d4673d555060ef52f0fe Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Thu, 17 Mar 2016 16:49:11 -0400 Subject: [PATCH] Remove debug statements that print user parameters --- middleware/confidenceScore.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/middleware/confidenceScore.js b/middleware/confidenceScore.js index df48b2b1..39ea45b2 100644 --- a/middleware/confidenceScore.js +++ b/middleware/confidenceScore.js @@ -77,8 +77,6 @@ function computeConfidenceScore(req, mean, stdev, hit) { hit.confidence /= checkCount; hit.confidence = Number((hit.confidence).toFixed(3)); - logger.debug('[confidence]:', hit.confidence, hit.name.default); - return hit; } @@ -102,8 +100,6 @@ function checkForDealBreakers(req, hit) { if (check.assigned(req.clean.parsed_text.postalcode) && check.assigned(hit.address_parts) && req.clean.parsed_text.postalcode !== hit.address_parts.zip) { - logger.debug('[confidence][deal-breaker]: postalcode !== zip (' + req.clean.parsed_text.postalcode + - ' !== ' + hit.address_parts.zip + ')'); return true; } }