From: David Zafman Date: Fri, 20 Feb 2015 04:17:33 +0000 (-0800) Subject: osd: Fix log output in FileJournal::read_entry() coming from do_read_entry() X-Git-Tag: v9.0.2~168^2~34 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d580d5688305be692b92ad876a6ec174ea85ddf8;p=ceph.git osd: Fix log output in FileJournal::read_entry() coming from do_read_entry() Signed-off-by: David Zafman --- diff --git a/src/os/FileJournal.cc b/src/os/FileJournal.cc index 5087589afe24..136de61d0ff0 100644 --- a/src/os/FileJournal.cc +++ b/src/os/FileJournal.cc @@ -1834,7 +1834,6 @@ bool FileJournal::read_entry( } } - stringstream errss; if (seq && seq < header.committed_up_to) { derr << "Unable to read past sequence " << seq << " but header indicates the journal has committed up through " @@ -1848,7 +1847,7 @@ bool FileJournal::read_entry( } } - dout(25) << errss.str() << dendl; + dout(25) << ss.str() << dendl; dout(2) << "No further valid entries found, journal is most likely valid" << dendl; return false;