chore: optimize log (#3151)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
parent
49ac8d52bd
commit
d4ac1cc856
|
|
@ -721,8 +721,8 @@ loop:
|
|||
if !firstPacketReceived {
|
||||
close(firstPacketDone)
|
||||
}
|
||||
pt.forceBackSource()
|
||||
pt.Infof("receive back source code")
|
||||
pt.forceBackSource()
|
||||
return
|
||||
}
|
||||
pt.Errorf("receive peer packet with error: %d", peerPacket.Code)
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ func newSeedPeerClient(dynconfig config.DynconfigInterface, hostManager HostMana
|
|||
return nil, err
|
||||
}
|
||||
|
||||
fmt.Println("cdnsystemClient", cdnsystemClient)
|
||||
logger.Infof("cdnsystemClient: %#v", cdnsystemClient)
|
||||
|
||||
// Initialize dfdaemon v2 grpc client.
|
||||
dfdaemonClient, err := dfdaemonclient.GetV2(context.Background(), dynconfig, opts...)
|
||||
|
|
@ -92,7 +92,7 @@ func newSeedPeerClient(dynconfig config.DynconfigInterface, hostManager HostMana
|
|||
return nil, err
|
||||
}
|
||||
|
||||
fmt.Println("dfdaemonClient", dfdaemonClient)
|
||||
logger.Infof("dfdaemonClient: %#v", dfdaemonClient)
|
||||
|
||||
sc := &seedPeerClient{
|
||||
hostManager: hostManager,
|
||||
|
|
|
|||
Loading…
Reference in New Issue