]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add bool log_to_file option 27044/head
authorSage Weil <sage@redhat.com>
Tue, 19 Mar 2019 10:48:00 +0000 (05:48 -0500)
committerSage Weil <sage@redhat.com>
Tue, 19 Mar 2019 12:37:00 +0000 (07:37 -0500)
commit18df18aa4d69232f1e898c99522aad7444c9ff12
treef0d54c17d6327afdae7111fa690ad4625d378cb0
parentfc974ad979eae4230cb79b2dad6a5dafc32ff2df
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>
src/common/ceph_context.cc
src/common/legacy_config_opts.h
src/common/options.cc