From: Neha Ojha Date: Thu, 3 Dec 2020 21:54:23 +0000 (+0000) Subject: mgr/ActivePyModules.cc: don't log config value in get_typed_config X-Git-Tag: v17.0.0~283^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f4b3d6b7692332c329b567d91460b8ada96741e2;p=ceph.git mgr/ActivePyModules.cc: don't log config value in get_typed_config Signed-off-by: Neha Ojha --- diff --git a/src/mgr/ActivePyModules.cc b/src/mgr/ActivePyModules.cc index 0d69729d59ac8..a403eebd0b790 100644 --- a/src/mgr/ActivePyModules.cc +++ b/src/mgr/ActivePyModules.cc @@ -610,7 +610,10 @@ PyObject *ActivePyModules::get_typed_config( derr << "Module '" << module_name << "' is not available" << dendl; Py_RETURN_NONE; } - dout(10) << __func__ << " " << final_key << " found: " << value << dendl; + // removing value to hide sensitive data going into mgr logs + // leaving this for debugging purposes + // dout(10) << __func__ << " " << final_key << " found: " << value << dendl; + dout(10) << __func__ << " " << final_key << " found" << dendl; return module->get_typed_option_value(key, value); } PyEval_RestoreThread(tstate);