aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
Diffstat (limited to 'p2p')
-rw-r--r--p2p/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/server.go b/p2p/server.go
index a6bbd9260..91bc4af5c 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "github.com/ethereum/eth-go/ethlog"
+ logpkg "github.com/ethereum/go-ethereum/logger"
)
const (
@@ -93,7 +93,7 @@ type Server struct {
handlers Handlers
}
-var logger = ethlog.NewLogger("P2P")
+var logger = logpkg.NewLogger("P2P")
func New(network Network, addr net.Addr, identity ClientIdentity, handlers Handlers, maxPeers int, blacklist Blacklist) *Server {
// get alphabetical list of protocol names from handlers map