Merge pull request #2136 from alexbosworth/patch-6

htlcswitch: Limit low-signal tps log statement to debug log
This commit is contained in:
Olaoluwa Osuntokun 2018-11-02 14:58:07 -07:00 committed by GitHub
commit 111d0ff542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1671,7 +1671,7 @@ out:
// Otherwise, we'll log this diff, then accumulate the // Otherwise, we'll log this diff, then accumulate the
// new stats into the running total. // new stats into the running total.
log.Infof("Sent %d satoshis and received %d satoshis "+ log.Debugf("Sent %d satoshis and received %d satoshis "+
"in the last 10 seconds (%f tx/sec)", "in the last 10 seconds (%f tx/sec)",
diffSatSent, diffSatRecv, diffSatSent, diffSatRecv,
float64(diffNumUpdates)/10) float64(diffNumUpdates)/10)