]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: don't include endl on clock drift warning
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 12 Oct 2010 19:42:31 +0000 (12:42 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Tue, 12 Oct 2010 19:42:40 +0000 (12:42 -0700)
src/mon/Paxos.cc

index cc69acca0400bcea975dd37b873bf4260ff6fb35..ccee70097731e40c99d3f0e133f67e2530b8c95d 100644 (file)
@@ -580,8 +580,7 @@ void Paxos::handle_lease(MMonPaxos *lease)
       ss << "lease_expire from mon" << lease->get_source().num()
         << " was sent from future time " << lease->sent_timestamp
         << " with expected time <=" << allowed_time
-        << ", clocks not synchronized"
-        << std::endl;
+        << ", clocks not synchronized";
       mon->get_logclient()->log(LOG_WARN, ss);
       last_clock_drift_warn = g_clock.now();
       ++clock_drift_warned;
@@ -659,7 +658,7 @@ void Paxos::handle_lease_ack(MMonPaxos *ack)
       ss << "lease_ack from mon" << from
           << " was sent from future time " << ack->sent_timestamp
           << " with allowed time <=" << allowed_time
-          << ", clocks not synchronized." << std::endl;
+          << ", clocks not synchronized.";
       mon->get_logclient()->log(LOG_WARN, ss);
       last_clock_drift_warn = g_clock.now();
       ++clock_drift_warned;