1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

namesys/publisher: Drop the 'namesys: ' prefix for the Publish log

This is already handled by setup in namesys/routing.go:

  var log = u.Logger("namesys")
This commit is contained in:
W. Trevor King
2015-05-07 15:08:09 -07:00
parent 7157574619
commit 02cb5f3b32

View File

@ -42,7 +42,7 @@ func NewRoutingPublisher(route routing.IpfsRouting) Publisher {
// Publish implements Publisher. Accepts a keypair and a value,
// and publishes it out to the routing system
func (p *ipnsPublisher) Publish(ctx context.Context, k ci.PrivKey, value path.Path) error {
log.Debugf("namesys: Publish %s", value)
log.Debugf("Publish %s", value)
data, err := createRoutingEntryData(k, value)
if err != nil {