reduce logging and make format

pull/815/head
Jeff Becker 5 years ago
parent ff233204cd
commit 61ade40a51
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -733,11 +733,6 @@ namespace llarp
m_Exit->QueueUpstreamTraffic(std::move(pkt),
llarp::routing::ExitPadSize);
}
else
{
llarp::LogWarn(Name(), " has no endpoint for ", dst);
llarp::DumpBuffer(pkt.ConstBuffer());
}
return;
}
if(m_SNodes.at(itr->second))

@ -356,7 +356,8 @@ namespace llarp
Router::FromConfig(Config *conf)
{
// Set netid before anything else
if(!conf->router.netId().empty() && strcmp(conf->router.netId().c_str(), Version::LLARP_NET_ID))
if(!conf->router.netId().empty()
&& strcmp(conf->router.netId().c_str(), Version::LLARP_NET_ID))
{
const auto &netid = conf->router.netId();
llarp::LogWarn("!!!! you have manually set netid to be '", netid,
@ -1174,7 +1175,7 @@ namespace llarp
}
else
{
LogWarn("Message failed sending to ", remote);
LogDebug("Message failed sending to ", remote);
}
}
} // namespace llarp

Loading…
Cancel
Save