diff --git a/chain/store/store.go b/chain/store/store.go index a7949512b..ff40b6da1 100644 --- a/chain/store/store.go +++ b/chain/store/store.go @@ -910,7 +910,7 @@ func (cs *ChainStore) GetRandomness(ctx context.Context, blks []cid.Cid, pers cr span.AddAttributes(trace.Int64Attribute("round", round)) defer func() { - log.Warnf("getRand %v %d %d %x -> %x", blks, pers, round, entropy, out) + log.Infof("getRand %v %d %d %x -> %x", blks, pers, round, entropy, out) }() for { diff --git a/chain/vm/spec_shim.go b/chain/vm/spec_shim.go index 6f12a3991..1cadde826 100644 --- a/chain/vm/spec_shim.go +++ b/chain/vm/spec_shim.go @@ -4,8 +4,6 @@ import ( "bytes" "context" "encoding/binary" - "fmt" - "os" "runtime/debug" "github.com/filecoin-project/go-address" @@ -55,12 +53,12 @@ func (rs *runtimeShim) shimCall(f func() interface{}) (rval []byte, aerr aerrors defer func() { if r := recover(); r != nil { if ar, ok := r.(aerrors.ActorError); ok { - fmt.Fprintln(os.Stderr, "VM.Call failure: ", ar) + log.Warn("VM.Call failure: ", ar) debug.PrintStack() aerr = ar return } - fmt.Fprintln(os.Stderr, "caught one of those actor errors: ", r) + log.Warn("caught one of those actor errors: ", r) debug.PrintStack() log.Errorf("ERROR") aerr = aerrors.Newf(1, "generic spec actors failure")