Skip to content

Commit

Permalink
Don't log raw binary
Browse files Browse the repository at this point in the history
Causes issues particularly when logging to the terminal.

License: MIT
Signed-off-by: Matt Joiner <anacrolix@gmail.com>
  • Loading branch information
anacrolix committed Dec 18, 2018
1 parent 616c88b commit 9258075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/protocol/internal/circuitv1-deprecated/listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (l *RelayListener) Accept() (manet.Conn, error) {
}

// TODO: Pretty print.
log.Infof("accepted relay connection: %s", c)
log.Infof("accepted relay connection: %q", c)

return c, nil
case <-l.ctx.Done():
Expand Down

0 comments on commit 9258075

Please sign in to comment.