Skip to content

Commit

Permalink
Merge pull request #74 from ipfs/feature/fix-id-log
Browse files Browse the repository at this point in the history
Fix logging in id.go
  • Loading branch information
whyrusleeping authored Jun 27, 2016
2 parents c2d5f7b + 9f7b0b8 commit 5d48ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/protocol/identify/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) {
lm["protocolVersion"] = protocol
lm["agentVersion"] = agent
log.Event(context.TODO(), "IdentifyProtocolMismatch", lm)
log.Debug("IdentifyProtocolMismatch %s %s %s (disconnected)", c.RemotePeer(), protocol, agent)
log.Debugf("IdentifyProtocolMismatch %s %s %s (disconnected)", c.RemotePeer(), protocol, agent)
}

0 comments on commit 5d48ff0

Please sign in to comment.