Logging the entire contents of a missing list can generate a
1M character log line when there are 8000 missing objects in a
PG. Other places in the code logging the missing list use debug
level 25 which is not enabled by default in teuthology tests.
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
size_t m_sz = pm->second.num_missing();
dout(10) << " peer osd." << peer << " missing " << m_sz << " objects." << dendl;
- dout(20) << " peer osd." << peer << " missing " << pm->second.get_items() << dendl;
+ // This log statement is verbose - a PG with 8000 missing objects can
+ // generate 1M+ character log entries and several GB of log output per recovery
+ dout(25) << " peer osd." << peer << " missing " << pm->second.get_items() << dendl;
// oldest first!
const pg_missing_t &m(pm->second);