Merge pull request #4114 from joostjager/routing-logging

routing+htlcswitch: logging improvements
This commit is contained in:
Joost Jager authored and GitHub committed 2020-03-25 12:15:39 +01:00
commit 6e30dda54f
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -544,7 +544,8 @@ func (m *MissionControl) applyPaymentResult(
if pairResult.success {
log.Debugf("Reporting pair success to Mission "+
"Control: pair=%v", pair)
"Control: pair=%v, amt=%v",
pair, pairResult.amt)
} else {
log.Debugf("Reporting pair failure to Mission "+
"Control: pair=%v, amt=%v",
+2 -1
View File
@@ -584,7 +584,8 @@ func findPathInternal(
log.Trace(newLogClosure(func() string {
return fmt.Sprintf("path finding probability: fromnode=%v,"+
" tonode=%v, probability=%v", fromVertex, toNodeDist.node,
" tonode=%v, amt=%v, probability=%v",
fromVertex, toNodeDist.node, amountToSend,
edgeProbability)
}))