]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: hide internal logger configuration strings from clients
authorRonen Friedman <rfriedma@redhat.com>
Sun, 17 Oct 2021 06:21:16 +0000 (06:21 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 11 Nov 2021 08:58:35 +0000 (08:58 +0000)
commitbb09a1d7e2c5dd29bbdfc70a24bd35ab5a0ce60a
treeb8815a9e63413a0f315a88a79aff33b8fb20a516
parent336059584f60a8c4664967ff34efa230da7a99d2
common: hide internal logger configuration strings from clients

Replace the common pattern used by clients of the logger, of:
- creating multiple "one element maps" for all config options;
- passing them, untouched, to the logger's update config.
with one that hides the configuration handling details from
the users.

Note: a followup PR, bypassing the strmaps construction altogether,
should be considered.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
13 files changed:
src/common/LogClient.cc
src/common/LogClient.h
src/common/str_list.cc
src/common/str_map.cc
src/include/str_map.h
src/mds/MDSRank.cc
src/mgr/ActivePyModules.cc
src/mgr/DaemonState.h
src/mgr/MgrStandby.cc
src/mon/Monitor.cc
src/osd/OSD.cc
src/rgw/rgw_kms.cc
src/rgw/rgw_kms.h