diff --git a/network/retrieval/peer.go b/network/retrieval/peer.go index f042fd6000..2148ad9189 100644 --- a/network/retrieval/peer.go +++ b/network/retrieval/peer.go @@ -40,7 +40,7 @@ type Peer struct { func NewPeer(peer *network.BzzPeer, baseKey *network.BzzAddr) *Peer { return &Peer{ BzzPeer: peer, - logger: log.NewBaseAddressLogger("base", baseKey.ShortString(), "peer", peer.BzzAddr.ShortString()), + logger: log.NewBaseAddressLogger(baseKey.ShortString(), "peer", peer.BzzAddr.ShortString()), retrievals: make(map[uint]chunk.Address), } } diff --git a/network/retrieval/retrieve.go b/network/retrieval/retrieve.go index dd36717b97..4f1f972dc0 100644 --- a/network/retrieval/retrieve.go +++ b/network/retrieval/retrieve.go @@ -113,7 +113,7 @@ func New(kad *network.Kademlia, ns *storage.NetStore, baseKey *network.BzzAddr, kademliaLB: network.NewKademliaLoadBalancer(kad, false), peers: make(map[enode.ID]*Peer), spec: spec, - logger: log.NewBaseAddressLogger("base", baseKey.ShortString()), + logger: log.NewBaseAddressLogger(baseKey.ShortString()), quit: make(chan struct{}), } if balance != nil && !reflect.ValueOf(balance).IsNil() { diff --git a/network/stream/sync_provider.go b/network/stream/sync_provider.go index 51c51b06ec..179ec68c60 100644 --- a/network/stream/sync_provider.go +++ b/network/stream/sync_provider.go @@ -85,7 +85,7 @@ func NewSyncProvider(ns *storage.NetStore, kad *network.Kademlia, baseAddr *netw quit: make(chan struct{}), cache: c, setCache: sc, - logger: log.NewBaseAddressLogger("base", baseAddr.ShortString()), + logger: log.NewBaseAddressLogger(baseAddr.ShortString()), binZeroSem: make(chan struct{}, maxBinZeroSyncPeers), } } diff --git a/storage/netstore.go b/storage/netstore.go index f0fab851cc..fb98e05c67 100644 --- a/storage/netstore.go +++ b/storage/netstore.go @@ -109,7 +109,7 @@ func NewNetStore(store chunk.Store, baseAddr *network.BzzAddr) *NetStore { fetchers: fetchers, Store: store, LocalID: baseAddr.ID(), - logger: log.NewBaseAddressLogger("base", baseAddr.ShortString()), + logger: log.NewBaseAddressLogger(baseAddr.ShortString()), } }