]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_client_io.cc
update sources to v12.2.4
[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
3a9019d9
FG
16int BasicClient::init(CephContext *cct) {
17 int init_error = init_env(cct);
18
19 if (init_error != 0)
20 return init_error;
7c673cae
FG
21
22 if (cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) {
23 const auto& env_map = get_env().get_map();
24
25 for (const auto& iter: env_map) {
26 rgw::crypt_sanitize::env x{iter.first, iter.second};
27 ldout(cct, 20) << iter.first << "=" << (x) << dendl;
28 }
29 }
3a9019d9 30 return init_error;
7c673cae
FG
31}
32
33} /* namespace io */
34} /* namespace rgw */