diff --git a/chain/vm/runtime.go b/chain/vm/runtime.go index cb7dd86d2..fdf3968ca 100644 --- a/chain/vm/runtime.go +++ b/chain/vm/runtime.go @@ -582,12 +582,12 @@ func (rt *Runtime) abortIfAlreadyValidated() { func (rt *Runtime) Log(level vmr.LogLevel, msg string, args ...interface{}) { switch level { case vmr.DEBUG: - log.Debugf(msg, args) + actorLog.Debugf(msg, args) case vmr.INFO: - log.Infof(msg, args) + actorLog.Infof(msg, args) case vmr.WARN: - log.Warnf(msg, args) + actorLog.Warnf(msg, args) case vmr.ERROR: - log.Errorf(msg, args) + actorLog.Errorf(msg, args) } } \ No newline at end of file diff --git a/chain/vm/vm.go b/chain/vm/vm.go index 2b22fbf10..b5d4bef04 100644 --- a/chain/vm/vm.go +++ b/chain/vm/vm.go @@ -35,6 +35,7 @@ import ( ) var log = logging.Logger("vm") +var actorLog = logging.Logger("actors") var gasOnActorExec = newGasCharge("OnActorExec", 0, 0) // ResolveToKeyAddr returns the public key type of address (`BLS`/`SECP256K1`) of an account actor identified by `addr`.