mon: demote cluster map prints to DEBUG level

The PaxosService subclasses should be writing out
informative log messages, and not relying on
a stream of map summary prints to communicate
changes.

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2017-06-23 06:39:56 -04:00 committed by Sage Weil
parent 9ef298eabe
commit a14782e179
3 changed files with 7 additions and 5 deletions

View File

@ -803,8 +803,9 @@ void MDSMonitor::on_active()
tick();
update_logger();
if (mon->is_leader())
mon->clog->info() << "fsmap " << fsmap;
if (mon->is_leader()) {
mon->clog->debug() << "fsmap " << fsmap;
}
}
void MDSMonitor::get_health(list<pair<health_status_t, string> >& summary,

View File

@ -381,8 +381,9 @@ void MgrMonitor::cancel_timer()
void MgrMonitor::on_active()
{
if (mon->is_leader())
mon->clog->info() << "mgrmap e" << map.epoch << ": " << map;
if (mon->is_leader()) {
mon->clog->debug() << "mgrmap e" << map.epoch << ": " << map;
}
}
void MgrMonitor::get_health(

View File

@ -536,7 +536,7 @@ void OSDMonitor::on_active()
update_logger();
if (mon->is_leader()) {
mon->clog->info() << "osdmap " << osdmap;
mon->clog->debug() << "osdmap " << osdmap;
} else {
list<MonOpRequestRef> ls;
take_all_failures(ls);