446 | @@ -447,9 +447,8 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
447 |
448 | // Look for an existing connection
449 | CNode* pnode = FindNode(static_cast<CService>(addrConnect));
450 | - if (pnode)
451 | - {
452 | - LogPrintf("Failed to open new connection, already connected\n");
453 | + if (pnode) {
454 | + LogPrintf("Failed to open new connection to %s, already connected (peer=%d)\n", addrConnect.ToString(), pnode->GetId());
Maybe use LogPrintfCategory from the conflicting pull to avoid another breaking change in the log message later on?
I'm happy to update the other pull after this (it's likely to see further updates, and rebases from other merges).
Or can just close for now.
No idea if that pull will be merged though, it has no Concept ACKs, will wait and see I guess and re-open this change later.
Yeah, it is pretty large. I think splitting up LogPrintfCategory on its own could make sense?
It solves a few issues while at the same time reducing the amount of code, so I'm hopeful it will move forward, but yes, will probably begin splitting it up.
Maybe use LogPrintfCategory
Re-opening and will update.