Merge pull request #4114 from joostjager/routing-logging
routing+htlcswitch: logging improvements
This commit is contained in:
commit
6e30dda54f
@ -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",
|
||||
|
@ -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)
|
||||
}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user