Skip to content

Commit 0d9af79

Browse files
committed
SOCKS5 connecting and connected messages with -debug=net.
They were too noisy and not necessary for normal operation.
1 parent 00678bd commit 0d9af79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/netbase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ struct ProxyCredentials
294294
/** Connect using SOCKS5 (as described in RFC1928) */
295295
static bool Socks5(const std::string& strDest, int port, const ProxyCredentials *auth, SOCKET& hSocket)
296296
{
297-
LogPrintf("SOCKS5 connecting %s\n", strDest);
297+
LogPrint("net", "SOCKS5 connecting %s\n", strDest);
298298
if (strDest.size() > 255) {
299299
CloseSocket(hSocket);
300300
return error("Hostname too long");
@@ -425,7 +425,7 @@ static bool Socks5(const std::string& strDest, int port, const ProxyCredentials
425425
CloseSocket(hSocket);
426426
return error("Error reading from proxy");
427427
}
428-
LogPrintf("SOCKS5 connected %s\n", strDest);
428+
LogPrint("net", "SOCKS5 connected %s\n", strDest);
429429
return true;
430430
}
431431

0 commit comments

Comments
 (0)