From 3230060f07c738383cc1034a99d60d2ad369560f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 3 Aug 2014 21:00:37 -0700 Subject: [PATCH] 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 --- src/tools/ceph_conf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/ceph_conf.cc b/src/tools/ceph_conf.cc index dac734b031217..30e40ab9a91da 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); -- 2.39.5