]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/common_init: start log from common_init_finish (if not yet started) 27352/head
authorSage Weil <sage@redhat.com>
Wed, 3 Apr 2019 19:54:55 +0000 (14:54 -0500)
committerSage Weil <sage@redhat.com>
Thu, 4 Apr 2019 02:07:06 +0000 (21:07 -0500)
commit30e49ae28b7a9cce6b489e1c866b35ac6ec8b70d
tree90d9967bf12d1e9a1e834fb2ade5df8a15e3c664
parent16dd435939a1532ad489ffcc230359ccf9c8898f
common/common_init: start log from common_init_finish (if not yet started)

This captures any non-global_init users who created their cct but haven't
started up the log thread yet.  As long as common_init_finish() happens
after we have all of our config options (from the mon config or whatever),
we will log (or not log) to the right location(s).

Fixes a regression in cd6a5b9c40779956629803f222c365bdb291a169

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/common_init.cc
src/log/Log.h