diff options
author | Sage Weil <sage@inktank.com> | 2013-01-21 09:24:58 -0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-01-22 10:24:40 -0800 |
commit | 359d0e98c1b956572d6fc5cc20a145355a95267a (patch) | |
tree | c046ad56fb5c73ee6f59f051c763529904f0d397 | |
parent | c5e095177c12e2547bf2f58bc151ffe747d29572 (diff) | |
download | ceph-359d0e98c1b956572d6fc5cc20a145355a95267a.tar.gz |
config: report on log level changes
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/common/config.cc | 2 |
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; } |