more logging

This commit is contained in:
Jeff Becker 2018-11-19 16:33:51 -05:00
parent c9fda1e5af
commit bad32dbb98
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -121,6 +121,7 @@ namespace llarp
llarp::AddressInfo to;
if(!PickAddress(rc, to))
return;
llarp::LogInfo("Try establish to ", rc.pubkey);
llarp::Addr addr(to);
auto s = NewOutboundSession(rc, to);
s->Start();
@ -164,6 +165,7 @@ namespace llarp
ILinkLayer::CloseSessionTo(const PubKey& remote)
{
Lock l(m_AuthedLinksMutex);
llarp::LogInfo("Closing all to ", remote);
auto range = m_AuthedLinks.equal_range(remote);
auto itr = range.first;
while(itr != range.second)