From b2f834390ce6adc5763e91e8c49cf1b85fe348a3 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 11 Nov 2013 09:25:36 +0100 Subject: [PATCH] Log to what master a slave is going to connect to. --- src/replication.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index 8102fc2db..7357ae5ec 100644 --- a/src/replication.c +++ b/src/replication.c @@ -1527,7 +1527,8 @@ void replicationCron(void) { /* Check if we should connect to a MASTER */ if (server.repl_state == REDIS_REPL_CONNECT) { - redisLog(REDIS_NOTICE,"Connecting to MASTER..."); + redisLog(REDIS_NOTICE,"Connecting to MASTER %s:%d", + server.masterhost, server.masterport); if (connectWithMaster() == REDIS_OK) { redisLog(REDIS_NOTICE,"MASTER <-> SLAVE sync started"); } -- GitLab