提交 02cb5f3b 作者: W. Trevor King

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")
上级 71575746
......@@ -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 {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论