From 8f3d3f7b6f19339ddadf32ca4b5761e4550b478b Mon Sep 17 00:00:00 2001 From: luin Date: Sat, 15 Apr 2017 20:33:34 +0800 Subject: [PATCH] feat: add debug logs for resolved sentinel nodes --- lib/connectors/sentinel_connector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connectors/sentinel_connector.js b/lib/connectors/sentinel_connector.js index 98d32488..83d99816 100644 --- a/lib/connectors/sentinel_connector.js +++ b/lib/connectors/sentinel_connector.js @@ -76,6 +76,7 @@ SentinelConnector.prototype.connect = function (callback, eventEmitter) { return; } if (resolved) { + debug('resolved: %s:%s', resolved.host, resolved.port); _this.stream = net.createConnection(resolved); callback(null, _this.stream); } else if (err) {