diff options
author | Sage Weil <sage@inktank.com> | 2013-01-21 08:45:10 -0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-01-21 08:45:10 -0800 |
commit | d7d81922830b0bb96b6f180808b4d56d67e02383 (patch) | |
tree | 0b3d18e840232d41011b523cb6f045a4c2226456 | |
parent | 3399860de2724281ee024b52f461b60f769ee0ee (diff) | |
download | ceph-d7d81922830b0bb96b6f180808b4d56d67e02383.tar.gz |
config: don't make noise about 'internal_safe_to_start_threads'
This is set on start, and subsequently gets into the changed set.
Once any other config value is injected, it is the first thing reported
by the logs, but is confusing and useless to the user. Hide it.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/common/config.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/config.cc b/src/common/config.cc index 0e86b792ae9..f7f87ed6f91 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -536,7 +536,9 @@ void md_config_t::_apply_changes(std::ostream *oss) for (changed_set_t::const_iterator c = changed.begin(); c != changed.end(); ++c) { const std::string &key(*c); - if ((oss) && (!_get_val(key.c_str(), &bufptr, sizeof(buf)))) { + if ((oss) && + (!_get_val(key.c_str(), &bufptr, sizeof(buf))) && + key != "internal_safe_to_start_threads") { (*oss) << "applying configuration change: " << key << " = '" << buf << "'\n"; } |