aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-06-09 20:48:42 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-06-09 20:48:48 +0200
commit050e586036c63dec6bcf7edc84ce1f2ce3518d3a (patch)
tree22767b40b6150277165a38304c41ed6344d8f12c /src
parent54ce13deee07b1e940a9f3e087d4068edaef189b (diff)
Add subscriber connect debug
Diffstat (limited to 'src')
-rw-r--r--src/BootstrapConnection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BootstrapConnection.cpp b/src/BootstrapConnection.cpp
index 4691462..9a19943 100644
--- a/src/BootstrapConnection.cpp
+++ b/src/BootstrapConnection.cpp
@@ -68,9 +68,10 @@ namespace sibs
subscribedPeersMutex.lock();
subscribedPeers[pubsubKey].push_back(newPeer);
subscribedPeersMutex.unlock();
+ Log::debug("BootstrapConnection: Connected to peer (ip: %s, port: %d) given by bootstrap node", newPeer->address.getAddress().c_str(), newPeer->address.getPort());
}
else
- Log::error("UDT: Failed to connect to peer given by bootstrap node, error: %s", resultStr.c_str());
+ Log::error("BootstrapConnection: Failed to connect to peer given by bootstrap node, error: %s", resultStr.c_str());
}, std::bind(&BootstrapConnection::receiveDataFromPeer, this, listenerCallbackFunc, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
}
else