Browse Source

node/pkg/ethereum: increase log levels

commit-id:8ec48eb6
Leo 3 years ago
parent
commit
1c0815e107
1 changed files with 2 additions and 2 deletions
  1. 2 2
      node/pkg/ethereum/watcher.go

+ 2 - 2
node/pkg/ethereum/watcher.go

@@ -297,7 +297,7 @@ func (e *Watcher) Run(ctx context.Context) error {
 
 					// Transaction was dropped and never picked up again
 					if pLock.height+4*uint64(expectedConfirmations) <= blockNumberU {
-						logger.Debug("observation timed out",
+						logger.Info("observation timed out",
 							zap.Stringer("tx", pLock.message.TxHash),
 							zap.Stringer("blockhash", key.BlockHash),
 							zap.Stringer("emitter_address", key.EmitterAddress),
@@ -326,7 +326,7 @@ func (e *Watcher) Run(ctx context.Context) error {
 						// "not found" error most of the time, but it could conceivably also
 						// return a nil tx or rpc.ErrNoResult.
 						if tx == nil || err == rpc.ErrNoResult || (err != nil && err.Error() == "not found") {
-							logger.Info("tx was orphaned",
+							logger.Warn("tx was orphaned",
 								zap.Stringer("tx", pLock.message.TxHash),
 								zap.Stringer("blockhash", key.BlockHash),
 								zap.Stringer("emitter_address", key.EmitterAddress),