From: Loic Dachary Date: Fri, 28 Nov 2014 15:20:00 +0000 (+0100) Subject: osd: log message content cosmetics X-Git-Tag: v0.90~33^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0fe5bc601112a101b37c9a229a13f4011436c949;p=ceph.git osd: log message content cosmetics Signed-off-by: Loic Dachary --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 239b7dbed5f5b..afb3a631e6eea 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -4162,7 +4162,7 @@ void PG::scrub_process_inconsistent() ss << info.pgid << " " << mode << " " << scrubber.missing.size() << " missing, " - << scrubber.inconsistent.size() << " inconsistent objects\n"; + << scrubber.inconsistent.size() << " inconsistent objects"; dout(2) << ss.str() << dendl; osd->clog->error(ss); if (repair) { diff --git a/src/osd/PGBackend.cc b/src/osd/PGBackend.cc index ad78d1f552647..029d577c615b8 100644 --- a/src/osd/PGBackend.cc +++ b/src/osd/PGBackend.cc @@ -552,13 +552,13 @@ void PGBackend::be_compare_scrubmaps( ++shallow_errors; else ++deep_errors; - errorstream << pgid << " shard " << j->first + errorstream << __func__ << ": " << pgid << " shard " << j->first << ": soid " << *k << " " << ss.str() << std::endl; } } else { cur_missing.insert(j->first); ++shallow_errors; - errorstream << pgid << " shard " << j->first + errorstream << __func__ << ": " << pgid << " shard " << j->first << " missing " << *k << std::endl; } }