]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monclient: show when hunting
authorSage Weil <sage@newdream.net>
Fri, 16 Oct 2009 19:58:50 +0000 (12:58 -0700)
committerSage Weil <sage@newdream.net>
Fri, 16 Oct 2009 19:59:06 +0000 (12:59 -0700)
src/mon/MonClient.cc

index aa3ca986a11752edc95989e06a655b9147c75df0..5a6775453722f6552684cf8e911f4cd7284ede7c 100644 (file)
@@ -32,7 +32,7 @@
 
 #define DOUT_SUBSYS monc
 #undef dout_prefix
-#define dout_prefix *_dout << dbeginl << "monclient: "
+#define dout_prefix *_dout << dbeginl << "monclient" << (hunting ? "(hunting)":"") << ": "
 
 
 /*
@@ -41,6 +41,8 @@
  */
 int MonClient::build_initial_monmap()
 {
+  dout(10) << "build_initial_monmap" << dendl;
+
   // file?
   if (g_conf.monmap) {
     const char *monmap_fn = g_conf.monmap;