Skip to content

Commit 1816327

Browse files
committed
p2p: Put disconnecting logs into BCLog::NET category
1 parent 4631dc5 commit 1816327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,7 @@ bool PeerLogicValidation::MaybeDiscourageAndDisconnect(CNode& pnode)
38283828
}
38293829

38303830
// Normal case: Disconnect the peer and discourage all nodes sharing the address
3831-
LogPrintf("Disconnecting and discouraging peer %d!\n", peer_id);
3831+
LogPrint(BCLog::NET, "Disconnecting and discouraging peer %d!\n", peer_id);
38323832
if (m_banman) m_banman->Discourage(pnode.addr);
38333833
m_connman.DisconnectNode(pnode.addr);
38343834
return true;

0 commit comments

Comments
 (0)