]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/simple/Pipe: show keepalives at level 2
authorSage Weil <sage@redhat.com>
Tue, 6 Oct 2015 19:37:31 +0000 (15:37 -0400)
committerSage Weil <sage@redhat.com>
Mon, 23 Nov 2015 13:38:48 +0000 (08:38 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/simple/Pipe.cc

index f14da82e9f006268ef0c6ec39c28feb4b09d45d6..5c8e84b8e474c1baeb408363d03d7de0a652d00a 100644 (file)
@@ -1515,7 +1515,7 @@ void Pipe::reader()
     }
 
     if (tag == CEPH_MSGR_TAG_KEEPALIVE) {
-      ldout(msgr->cct,20) << "reader got KEEPALIVE" << dendl;
+      ldout(msgr->cct,2) << "reader got KEEPALIVE" << dendl;
       pipe_lock.Lock();
       connection_state->set_last_keepalive(ceph_clock_now(NULL));
       continue;
@@ -1532,15 +1532,15 @@ void Pipe::reader()
       } else {
        send_keepalive_ack = true;
        keepalive_ack_stamp = utime_t(t);
-       ldout(msgr->cct,20) << "reader got KEEPALIVE2 " << keepalive_ack_stamp
-                           << dendl;
+       ldout(msgr->cct,2) << "reader got KEEPALIVE2 " << keepalive_ack_stamp
+                          << dendl;
        connection_state->set_last_keepalive(ceph_clock_now(NULL));
        cond.Signal();
       }
       continue;
     }
     if (tag == CEPH_MSGR_TAG_KEEPALIVE2_ACK) {
-      ldout(msgr->cct,20) << "reader got KEEPALIVE_ACK" << dendl;
+      ldout(msgr->cct,2) << "reader got KEEPALIVE_ACK" << dendl;
       struct ceph_timespec t;
       int rc = tcp_read((char*)&t, sizeof(t));
       pipe_lock.Lock();