g_conf->journal_max_corrupt_search)) {
errss << "Entry at pos " << pos << " possibly corrupt due to: ("
<< ss.str() << ")" << std::endl;
+ ss.str(string());
ss.clear();
pos = next_pos;
result = do_read_entry(
}
}
- dout(2) << errss.str() << dendl;
+ dout(25) << errss.str() << dendl;
dout(2) << "No further valid entries found, journal is most likely valid"
<< dendl;
return false;
h = (entry_header_t *)hbl.c_str();
if (!h->check_magic(pos, header.get_fsid64())) {
- dout(2) << "read_entry " << pos
- << " : bad header magic, end of journal" << dendl;
+ dout(25) << "read_entry " << pos
+ << " : bad header magic, end of journal" << dendl;
if (ss)
*ss << "bad header magic";
if (next_pos)