correct logging

pull/278/head
Jeff Becker 5 years ago
parent b76a227897
commit 96006a061a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -429,7 +429,8 @@ namespace llarp
} }
else if(st == ePathEstablished && _status == ePathBuilding) else if(st == ePathEstablished && _status == ePathBuilding)
{ {
llarp::LogInfo("path ", Name(), " is built"); llarp::LogInfo("path ", Name(), " is built, took ", now - buildStarted,
" ms");
} }
_status = st; _status = st;
} }
@ -645,8 +646,6 @@ namespace llarp
{ {
// finish initializing introduction // finish initializing introduction
intro.expiresAt = buildStarted + hops[0].lifetime; intro.expiresAt = buildStarted + hops[0].lifetime;
llarp::LogInfo("path is built tx=", TXID(), " rx=", RXID(), " took ",
now - buildStarted, " ms");
r->routerProfiling.MarkPathSuccess(this); r->routerProfiling.MarkPathSuccess(this);

Loading…
Cancel
Save