From c7e3dd0af4172633de6cd93126818abd8fde91ab Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 3 Dec 2019 17:54:44 -0600 Subject: [PATCH] common/config: less noise about configs from mon we can't apply It is normal to set things in teh mon config database that can't be absorbed by clients/daemons at runtime. Things like ms_type can/should be set there (so that they, for instance, help produce the 'config minimal-conf') but we don't need daemons to spit out error messages every time they get a config update. Signed-off-by: Sage Weil --- src/common/config.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config.cc b/src/common/config.cc index 0259ef2f8ee..019cb8c2f9c 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -293,8 +293,8 @@ int md_config_t::set_mon_vals(CephContext *cct, std::string err; int r = _set_val(values, tracker, i.second, *o, CONF_MON, &err); if (r < 0) { - lderr(cct) << __func__ << " failed to set " << i.first << " = " - << i.second << ": " << err << dendl; + ldout(cct, 4) << __func__ << " failed to set " << i.first << " = " + << i.second << ": " << err << dendl; ignored_mon_values.emplace(i); } else if (r == ConfigValues::SET_NO_CHANGE || r == ConfigValues::SET_NO_EFFECT) { -- 2.39.5