config: clean up output

Report a simple list of key='value', without extra verbosity.

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-01-22 10:24:37 -08:00
parent d7d8192283
commit c5e095177c

View File

@ -539,8 +539,7 @@ void md_config_t::_apply_changes(std::ostream *oss)
if ((oss) &&
(!_get_val(key.c_str(), &bufptr, sizeof(buf))) &&
key != "internal_safe_to_start_threads") {
(*oss) << "applying configuration change: " << key << " = '"
<< buf << "'\n";
(*oss) << key << " = '" << buf << "' ";
}
pair < obs_map_t::iterator, obs_map_t::iterator >
range(observers.equal_range(key));