]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: add bool log_to_file option
authorSage Weil <sage@redhat.com>
Tue, 19 Mar 2019 10:48:00 +0000 (05:48 -0500)
committerSage Weil <sage@redhat.com>
Fri, 29 Mar 2019 23:19:08 +0000 (18:19 -0500)
commita957e5ef56cbfd1a71fa5ed6b99988a4a0d7e34c
tree1211c2cf9fc539a064f09c8fb318cc763b24803d
parentd4290f8edcbadbfecb9396a43a586afe0d0afd00
common: add bool log_to_file option

This allows us to disable and reenable logging to a file while preservng
the default log_file location.  This is analogous to log_to_stderr,
log_to_syslog, log_to_graylog, etc.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 18df18aa4d69232f1e898c99522aad7444c9ff12)
src/common/ceph_context.cc
src/common/legacy_config_opts.h
src/common/options.cc