ammend log levels for common spammy log events (#1375)

pull/1376/head
Jeff 4 years ago committed by GitHub
parent ac16cdc177
commit 28bfaf0372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -359,7 +359,7 @@ namespace llarp
{
m_Stats.totalDroppedTX++;
m_Stats.totalInFlightTX--;
LogWarn("Dropped unacked packet to ", m_RemoteAddr);
LogDebug("Dropped unacked packet to ", m_RemoteAddr);
itr->second.InformTimeout();
itr = m_TXMsgs.erase(itr);
}

@ -214,7 +214,6 @@ namespace llarp
DoCallback(callback, SendStatus::Success);
else
{
LogWarn("Send outbound message handler dropped message");
DoCallback(callback, SendStatus::Congestion);
}
});

@ -78,13 +78,13 @@ namespace llarp
auto path = m_PathSet->GetRandomPathByRouter(remoteIntro.router);
if (!path)
{
LogError(m_Endpoint->Name(), " cannot encrypt and send: no path for intro ", remoteIntro);
LogWarn(m_Endpoint->Name(), " cannot encrypt and send: no path for intro ", remoteIntro);
return;
}
if (!m_DataHandler->GetCachedSessionKeyFor(f->T, shared))
{
LogError(m_Endpoint->Name(), " has no cached session key on session T=", f->T);
LogWarn(m_Endpoint->Name(), " has no cached session key on session T=", f->T);
return;
}

Loading…
Cancel
Save