]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/ConfigMonitor.cc
import 15.2.9
[ceph.git] / ceph / src / mon / ConfigMonitor.cc
index a67409fe9f8c1b3e8afaae3d9d38722796f01c6d..31b459611a5b44aca593c0bd8bf440f8ed9ff796 100644 (file)
@@ -801,13 +801,6 @@ void ConfigMonitor::load_config()
     it->next();
   }
   dout(10) << __func__ << " got " << num << " keys" << dendl;
-  dout(20) << __func__ << " config map:\n";
-  JSONFormatter jf(true);
-  jf.open_object_section("config_map");
-  config_map.dump(&jf);
-  jf.close_section();
-  jf.flush(*_dout);
-  *_dout << dendl;
 
   // refresh our own config
   {
@@ -884,8 +877,9 @@ bool ConfigMonitor::refresh_config(MonSession *s)
     dout(20) << __func__ << " no change, " << out << dendl;
     return false;
   }
-
-  dout(20) << __func__ << " " << out << dendl;
+  // removing this to hide sensitive data going into logs
+  // leaving this for debugging purposes
+ //  dout(20) << __func__ << " " << out << dendl;
   s->last_config = std::move(out);
   s->any_config = true;
   return true;