Skip to content

Commit

Permalink
SOCKS5 connecting and connected messages with -debug=net.
Browse files Browse the repository at this point in the history
They were too noisy and not necessary for normal operation.
  • Loading branch information
wtogami committed May 10, 2016
1 parent 00678bd commit 0d9af79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct ProxyCredentials
/** Connect using SOCKS5 (as described in RFC1928) */
static bool Socks5(const std::string& strDest, int port, const ProxyCredentials *auth, SOCKET& hSocket)
{
LogPrintf("SOCKS5 connecting %s\n", strDest);
LogPrint("net", "SOCKS5 connecting %s\n", strDest);
if (strDest.size() > 255) {
CloseSocket(hSocket);
return error("Hostname too long");
Expand Down Expand Up @@ -425,7 +425,7 @@ static bool Socks5(const std::string& strDest, int port, const ProxyCredentials
CloseSocket(hSocket);
return error("Error reading from proxy");
}
LogPrintf("SOCKS5 connected %s\n", strDest);
LogPrint("net", "SOCKS5 connected %s\n", strDest);
return true;
}

Expand Down

0 comments on commit 0d9af79

Please sign in to comment.