]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_client_io.cc
update sources to v12.1.0
[ceph.git] / ceph / src / rgw / rgw_client_io.cc
CommitLineData
7c673cae
FG
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab
3
4#include <stdio.h>
5#include <stdlib.h>
6#include <stdarg.h>
7
8#include "rgw_client_io.h"
9#include "rgw_crypt.h"
10#include "rgw_crypt_sanitize.h"
11#define dout_subsys ceph_subsys_rgw
12
13namespace rgw {
14namespace io {
15
16void BasicClient::init(CephContext *cct) {
17 init_env(cct);
18
19 if (cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) {
20 const auto& env_map = get_env().get_map();
21
22 for (const auto& iter: env_map) {
23 rgw::crypt_sanitize::env x{iter.first, iter.second};
24 ldout(cct, 20) << iter.first << "=" << (x) << dendl;
25 }
26 }
27}
28
29} /* namespace io */
30} /* namespace rgw */