]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/ConfigMonitor.cc: don't log config values in refresh_config
authorNeha Ojha <nojha@redhat.com>
Thu, 3 Dec 2020 21:00:51 +0000 (21:00 +0000)
committerNeha Ojha <nojha@redhat.com>
Tue, 15 Dec 2020 16:02:15 +0000 (16:02 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/mon/ConfigMonitor.cc

index de4452fb6c176cfe7c8819a511ece06b2a80a392..ddeb8d8b995da4f44bb3cba9dc897eb6a3b03536 100644 (file)
@@ -930,8 +930,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;