]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/dbstore: hide dbstore_log.h from rgw_main.cc 44581/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 13 Jan 2022 20:56:11 +0000 (15:56 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 14 Jan 2022 17:34:08 +0000 (12:34 -0500)
commite956537ab85e0f9cf27f83742f204a26f2faca66
tree0f66ddc1608aac6a38071a8bcb45a34c943d79ed
parent40717bf5a9ca72f01a0163aac87d8e53a3249c7b
rgw/dbstore: hide dbstore_log.h from rgw_main.cc

dbstore_log.h sets global dout_subsys/dout_prefix macros, and was
leaking into rgw_main.cc through the common/dbstore.h. this caused all
of rgw_main's log output to start with the wrong prefix "rgw dbstore: "

Fixes: https://tracker.ceph.com/issues/53177
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/store/dbstore/common/dbstore.cc
src/rgw/store/dbstore/common/dbstore.h
src/rgw/store/dbstore/dbstore_mgr.cc
src/rgw/store/dbstore/dbstore_mgr.h