From 30463bf169749ca0fe7be1a73a5439ab03351ed7 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Mon, 25 May 2020 17:00:31 +0200 Subject: [PATCH] drain: reduce some log output to debug --- drain/drain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drain/drain.py b/drain/drain.py index d0e421e..b078631 100755 --- a/drain/drain.py +++ b/drain/drain.py @@ -272,9 +272,9 @@ def try_for_htlc_fee(plugin, payload, peer_id, amount, chunk, spendable_before): excludes += [worst_channel_id + '/0', worst_channel_id + '/1'] continue - plugin.log("[%d/%d] Sending over %d hops to %s %s using %s fees" % (chunk+1, payload['chunks'], len(route), payload['command'], amount, fees)) + plugin.log("[%d/%d] Sending over %d hops to %s %s using %s fees" % (chunk+1, payload['chunks'], len(route), payload['command'], amount, fees), 'debug') for r in route: - plugin.log(" - %s %14s %s" % (r['id'], r['channel'], r['amount_msat'])) + plugin.log(" - %s %14s %s" % (r['id'], r['channel'], r['amount_msat']), 'debug') try: ours = get_ours(plugin, payload['scid'])