From 98682cd178b62602d371e3e4e517cda606ecfdc6 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 c0018cec..2c99a662 100644 --- a/src/replication.c +++ b/src/replication.c @@ -1499,7 +1499,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