]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/ConfigMonitor.cc: don't dump all keys and values in config map
authorNeha Ojha <nojha@redhat.com>
Thu, 3 Dec 2020 20:33:20 +0000 (20:33 +0000)
committerNeha Ojha <nojha@redhat.com>
Wed, 16 Dec 2020 00:24:45 +0000 (00:24 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit a68b4597785f92a0cb98440030be61f8004e3151)

src/mon/ConfigMonitor.cc

index 5198c060b1450383ad13ab526cf034faa6bf78ce..45b8725f09776594bc8f1ca123c9acc2cb277af2 100644 (file)
@@ -800,13 +800,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
   {