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>
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,
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(
update_logger();
if (mon->is_leader()) {
- mon->clog->info() << "osdmap " << osdmap;
+ mon->clog->debug() << "osdmap " << osdmap;
} else {
list<MonOpRequestRef> ls;
take_all_failures(ls);