544@@ -544,9 +545,9 @@ template<typename... Args>
545 static void LogConnectFailure(bool manual_connection, const char* fmt, const Args&... args) {
546 std::string error_message = tfm::format(fmt, args...);
547 if (manual_connection) {
548- LogPrintf("%s\n", error_message);
549+ LogPrintLevel(BCLog::NET, BCLog::Level::Info, "%s\n", error_message);
I think that the change in this line should be explained better / maybe be its own commit. LogConnectFailure is not related to SOCKS5 but also reached through ConnectDirectly(), so it’s not clear to me from the commit msg or PR description why the log is changed.
Dropped this hunk altogether. It was more or less cosmetic, giving a category to a category-less message - for manual connection failures: category=none/severity=info -> category=net/severity=info.