log(secio) rm handshake console log (still has event log)
Brian Tiger Chow committed
Jan 20, 2015 at 03:00 UTC
d98b05497ff70c074c488e301934ebf7ae6a88a0
1 file changed
-2
p2p/crypto/secio/protocol.go
-2
@@ -80,7 +80,6 @@ func (s *secureSession) handshake(ctx context.Context, insecure io.ReadWriter) e
80
return err
81
}
82
83
- log.Debugf("handshake: %s <--start--> %s", s.localPeer, s.remotePeer)
83
defer log.EventBegin(ctx, "secureHandshake", s.localPeer).Done()
84
85
s.local.permanentPubKey = s.localKey.GetPublic()
@@ -293,7 +292,6 @@ func (s *secureSession) handshake(ctx context.Context, insecure io.ReadWriter) e
292
}
293
294
// Whew! ok, that's all folks.
296
- log.Debugf("handshake: %s <--finish--> %s", s.localPeer, s.remotePeer)
295
log.Event(ctx, "secureHandshakeFinish", s.localPeer, s.remotePeer)
296
return nil
297
}