]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monclient: do not show monmap source on startup
authorSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 17:56:46 +0000 (10:56 -0700)
committerSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 21:20:05 +0000 (14:20 -0700)
src/mon/MonClient.cc

index 7290eb3c065cb07c18e3abe5b28e601fd12dd75c..b30aa32dc73a9bfeb0820076b96413596653338c 100644 (file)
@@ -65,8 +65,7 @@ int MonClient::probe_mon(MonMap *pmonmap)
 
   if (monmap_bl.length()) {
     pmonmap->decode(monmap_bl);
-    dout(2) << "get_monmap got monmap from " << monaddrs[i] << " fsid " << pmonmap->fsid << dendl;
-    cout << "[got monmap from " << monaddrs[i] << " fsid " << pmonmap->fsid << "]" << std::endl;
+    dout(1) << "[got monmap from " << monaddrs[i] << " fsid " << pmonmap->fsid << "]" << dendl;
   }
   msgr->shutdown();
   msgr->destroy();
@@ -88,7 +87,7 @@ int MonClient::get_monmap(MonMap *pmonmap)
     const char *monmap_fn = g_conf.monmap;
     int r = pmonmap->read(monmap_fn);
     if (r >= 0) {
-      cout << "[opened monmap at " << monmap_fn << " fsid " << pmonmap->fsid << "]" << std::endl;
+      dout(1) << "[opened monmap at " << monmap_fn << " fsid " << pmonmap->fsid << "]" << dendl;
       return 0;
     }