diff options
author | Sage Weil <sage@redhat.com> | 2014-08-03 21:00:37 -0700 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-08-03 21:00:51 -0700 |
commit | 3230060f07c738383cc1034a99d60d2ad369560f (patch) | |
tree | f41f67ef6a95e2bdec0125e83f3a8477c0d2dc2d /src/tools/ceph_conf.cc | |
parent | e36babc825caf2e6836649308ac431b5dccc83c5 (diff) | |
download | ceph-3230060f07c738383cc1034a99d60d2ad369560f.tar.gz |
ceph-conf: flush log on exit
This makes it deterministic whether we output
2014-08-03 20:59:45.482614 4036c80 -1 did not load config file, using default settings.
or not, and will make the unit tests stop intermittently failing.
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/tools/ceph_conf.cc')
-rw-r--r-- | src/tools/ceph_conf.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/ceph_conf.cc b/src/tools/ceph_conf.cc index dac734b0312..30e40ab9a91 100644 --- a/src/tools/ceph_conf.cc +++ b/src/tools/ceph_conf.cc @@ -206,6 +206,7 @@ int main(int argc, const char **argv) } } + g_ceph_context->_log->flush(); if (action == "help") { usage(); exit(0); |