From 46713f83d46babbc9ad48d11c52cd954a8553846 Mon Sep 17 00:00:00 2001 From: Luc Heinrich Date: Mon, 23 Mar 2009 12:42:10 +0100 Subject: [PATCH] Display the port on server startup. --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index dae4e0af0..fa0d6158f 100644 --- a/redis.c +++ b/redis.c @@ -3063,7 +3063,7 @@ int main(int argc, char **argv) { redisLog(REDIS_NOTICE,"DB loaded from disk"); if (aeCreateFileEvent(server.el, server.fd, AE_READABLE, acceptHandler, NULL, NULL) == AE_ERR) oom("creating file event"); - redisLog(REDIS_NOTICE,"The server is now ready to accept connections"); + redisLog(REDIS_NOTICE,"The server is now ready to accept connections on port %d", server.port); aeMain(server.el); aeDeleteEventLoop(server.el); return 0;