]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
log,global: do not start flusher thread until after we have our mon config 27278/head
authorSage Weil <sage@redhat.com>
Fri, 22 Mar 2019 15:58:30 +0000 (10:58 -0500)
committerSage Weil <sage@redhat.com>
Fri, 29 Mar 2019 23:19:23 +0000 (18:19 -0500)
commite4df08593023212e6834ee5893ee73fb3388402f
tree12d24ec06634dc92a743899fc85946a41c1b3316
parent05ef8f4f0d404e2c1c206f518e97029ac1292707
log,global: do not start flusher thread until after we have our mon config

We want to respect the settings in the mon config that affect logging before
we enable the flusher thread.  That allows us to set (via the monitor) things
like log_to_file=false or log_to_syslog=true.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit cd6a5b9c40779956629803f222c365bdb291a169)
src/common/ceph_context.cc
src/global/global_init.cc