]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
9f95a23c | 2 | // vim: ts=8 sw=2 smarttab ft=cpp |
7c673cae FG |
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 | ||
13 | namespace rgw { | |
14 | namespace io { | |
15 | ||
11fdf7f2 | 16 | [[nodiscard]] int BasicClient::init(CephContext *cct) { |
3a9019d9 FG |
17 | int init_error = init_env(cct); |
18 | ||
19 | if (init_error != 0) | |
20 | return init_error; | |
7c673cae | 21 | |
11fdf7f2 | 22 | if (cct->_conf->subsys.should_gather<ceph_subsys_rgw, 20>()) { |
7c673cae FG |
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 */ |