From d4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Wed, 22 Feb 2017 14:10:07 +0200 Subject: all: blidly swap out glog to our log15, logs need rework --- accounts/abi/bind/util.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'accounts/abi/bind/util.go') diff --git a/accounts/abi/bind/util.go b/accounts/abi/bind/util.go index bbb6d6a75..88234688e 100644 --- a/accounts/abi/bind/util.go +++ b/accounts/abi/bind/util.go @@ -22,8 +22,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/logger" - "github.com/ethereum/go-ethereum/logger/glog" + "github.com/ethereum/go-ethereum/log" "golang.org/x/net/context" ) @@ -39,9 +38,9 @@ func WaitMined(ctx context.Context, b DeployBackend, tx *types.Transaction) (*ty return receipt, nil } if err != nil { - glog.V(logger.Detail).Infof("tx %x error: %v", loghash, err) + log.Trace(fmt.Sprintf("tx %x error: %v", loghash, err)) } else { - glog.V(logger.Detail).Infof("tx %x not yet mined...", loghash) + log.Trace(fmt.Sprintf("tx %x not yet mined...", loghash)) } // Wait for the next round. select { -- cgit