summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-01-21 09:24:58 -0800
committerSage Weil <sage@inktank.com>2013-01-22 10:24:40 -0800
commit359d0e98c1b956572d6fc5cc20a145355a95267a (patch)
treec046ad56fb5c73ee6f59f051c763529904f0d397
parentc5e095177c12e2547bf2f58bc151ffe747d29572 (diff)
downloadceph-359d0e98c1b956572d6fc5cc20a145355a95267a.tar.gz
config: report on log level changes
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/common/config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/config.cc b/src/common/config.cc
index 210ffae7582..7cd9373dd1b 100644
--- a/src/common/config.cc
+++ b/src/common/config.cc
@@ -435,6 +435,8 @@ int md_config_t::parse_option(std::vector<const char*>& args,
// cout << "subsys " << subsys.get_name(o) << " log " << log << " gather " << gather << std::endl;
subsys.set_log_level(o, log);
subsys.set_gather_level(o, gather);
+ if (oss)
+ *oss << "debug_" << subsys.get_name(o) << "=" << log << "/" << gather << " ";
}
break;
}