diff options
author | Sage Weil <sage@inktank.com> | 2013-10-21 15:33:37 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-21 15:33:37 -0700 |
commit | bd2eeb71bc476447f26fb117f894ef173939ed0f (patch) | |
tree | b1f2cefe926a4b4f79d9e44509e8a3a52f612836 | |
parent | ad455c8ebeb734d26d2d9f493d65c9e68ba887bb (diff) | |
download | ceph-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.cc | 2 |
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); |