Commit 9f7b0b81 authored by Jakub Sztandera's avatar Jakub Sztandera
Browse files

Fix logging in id.go

parent c2d5f7bc
...@@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) { ...@@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) {
lm["protocolVersion"] = protocol lm["protocolVersion"] = protocol
lm["agentVersion"] = agent lm["agentVersion"] = agent
log.Event(context.TODO(), "IdentifyProtocolMismatch", lm) 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)
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment