mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
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:
parent
9ef298eabe
commit
a14782e179
@ -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,
|
||||
|
@ -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(
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user