diff --git a/go.mod b/go.mod index 253559994..af8062155 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,6 @@ require ( github.com/ipfs/go-datastore v0.4.6 github.com/ipfs/go-detect-race v0.0.1 github.com/ipfs/go-ipfs-util v0.0.2 - github.com/ipfs/go-log v1.0.5 github.com/ipfs/go-log/v2 v2.3.0 github.com/jbenet/goprocess v0.1.4 github.com/klauspost/cpuid/v2 v2.0.9 // indirect diff --git a/p2p/protocol/circuitv2/client/client.go b/p2p/protocol/circuitv2/client/client.go index e6ee5a4b9..e4994f8e0 100644 --- a/p2p/protocol/circuitv2/client/client.go +++ b/p2p/protocol/circuitv2/client/client.go @@ -9,7 +9,7 @@ import ( "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" - logging "github.com/ipfs/go-log" + logging "github.com/ipfs/go-log/v2" tptu "github.com/libp2p/go-libp2p-transport-upgrader" ) diff --git a/p2p/protocol/circuitv2/relay/relay.go b/p2p/protocol/circuitv2/relay/relay.go index bc52dd890..ecd6bfc5b 100644 --- a/p2p/protocol/circuitv2/relay/relay.go +++ b/p2p/protocol/circuitv2/relay/relay.go @@ -17,7 +17,7 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/record" - logging "github.com/ipfs/go-log" + logging "github.com/ipfs/go-log/v2" pool "github.com/libp2p/go-buffer-pool" ma "github.com/multiformats/go-multiaddr" manet "github.com/multiformats/go-multiaddr/net" diff --git a/p2p/protocol/circuitv2/test/e2e_test.go b/p2p/protocol/circuitv2/test/e2e_test.go index cf4c9bd2b..b352cb7c1 100644 --- a/p2p/protocol/circuitv2/test/e2e_test.go +++ b/p2p/protocol/circuitv2/test/e2e_test.go @@ -18,7 +18,7 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - logging "github.com/ipfs/go-log" + logging "github.com/ipfs/go-log/v2" bhost "github.com/libp2p/go-libp2p-blankhost" metrics "github.com/libp2p/go-libp2p-core/metrics" pstoremem "github.com/libp2p/go-libp2p-peerstore/pstoremem"