diff --git a/chain/blocksync/blocksync.go b/chain/blocksync/blocksync.go index a16bc78b0..2439a13fa 100644 --- a/chain/blocksync/blocksync.go +++ b/chain/blocksync/blocksync.go @@ -97,7 +97,7 @@ func (bss *BlockSyncService) HandleStream(s inet.Stream) { resp, err := bss.processRequest(ctx, &req) if err != nil { - log.Error("failed to process block sync request: ", err) + log.Warn("failed to process block sync request: ", err) return } diff --git a/chain/sub/incoming.go b/chain/sub/incoming.go index 2a9bb78b2..c14aed2d9 100644 --- a/chain/sub/incoming.go +++ b/chain/sub/incoming.go @@ -78,7 +78,7 @@ func HandleIncomingMessages(ctx context.Context, mpool *messagepool.MessagePool, } if err := mpool.Add(m); err != nil { - log.Warnf("failed to add message from network to message pool (From: %s, To: %s, Nonce: %d, Value: %s): %+v", m.Message.From, m.Message.To, m.Message.Nonce, types.FIL(m.Message.Value), err) + log.Warnf("failed to add message from network to message pool (From: %s, To: %s, Nonce: %d, Value: %s): %s", m.Message.From, m.Message.To, m.Message.Nonce, types.FIL(m.Message.Value), err) continue } } diff --git a/node/hello/hello.go b/node/hello/hello.go index 70e27422e..171579899 100644 --- a/node/hello/hello.go +++ b/node/hello/hello.go @@ -2,7 +2,6 @@ package hello import ( "context" - "fmt" "go.uber.org/fx" @@ -119,8 +118,7 @@ func (hs *Service) SayHello(ctx context.Context, pid peer.ID) error { HeaviestTipSetWeight: weight, GenesisHash: gen.Cid(), } - fmt.Println("SENDING HELLO MESSAGE: ", hts.Cids(), hts.Height()) - fmt.Println("hello message genesis: ", gen.Cid()) + log.Info("Sending hello message: ", hts.Cids(), hts.Height(), gen.Cid()) if err := cborutil.WriteCborRPC(s, hmsg); err != nil { return err