summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-10-21 15:33:37 -0700
committerSage Weil <sage@inktank.com>2013-10-21 15:33:37 -0700
commitbd2eeb71bc476447f26fb117f894ef173939ed0f (patch)
treeb1f2cefe926a4b4f79d9e44509e8a3a52f612836
parentad455c8ebeb734d26d2d9f493d65c9e68ba887bb (diff)
downloadceph-bd2eeb71bc476447f26fb117f894ef173939ed0f.tar.gz
ceph-mon: add debug to ip selection
This will hopefully help us track down #5804. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/ceph_mon.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc
index 35ed56a7985..2fc9e91124d 100644
--- a/src/ceph_mon.cc
+++ b/src/ceph_mon.cc
@@ -448,6 +448,8 @@ int main(int argc, const char **argv)
ipaddr = g_conf->public_addr;
if (ipaddr.get_port() == 0)
ipaddr.set_port(CEPH_MON_PORT);
+ dout(0) << "using public_addr " << g_conf->public_addr << " -> "
+ << ipaddr << dendl;
} else {
MonMap tmpmap;
int err = tmpmap.build_initial(g_ceph_context, cerr);