X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Frgw%2Frgw_client_io.cc;fp=src%2Fceph%2Fsrc%2Frgw%2Frgw_client_io.cc;h=dd116c427a8e3a3ccb95db09f5b8075a077285fc;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/rgw/rgw_client_io.cc b/src/ceph/src/rgw/rgw_client_io.cc new file mode 100644 index 0000000..dd116c4 --- /dev/null +++ b/src/ceph/src/rgw/rgw_client_io.cc @@ -0,0 +1,30 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + +#include +#include +#include + +#include "rgw_client_io.h" +#include "rgw_crypt.h" +#include "rgw_crypt_sanitize.h" +#define dout_subsys ceph_subsys_rgw + +namespace rgw { +namespace io { + +void BasicClient::init(CephContext *cct) { + init_env(cct); + + if (cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) { + const auto& env_map = get_env().get_map(); + + for (const auto& iter: env_map) { + rgw::crypt_sanitize::env x{iter.first, iter.second}; + ldout(cct, 20) << iter.first << "=" << (x) << dendl; + } + } +} + +} /* namespace io */ +} /* namespace rgw */