@cryptotaxi247 / infra-1 / commits / 721f0f78

enable logging for the channel exporter

Daiderd Jordan committed Jun 11, 2020 at 21:38 UTC 721f0f78eac73f0c6909efd9673ba56c1915ed1d
1 file changed +2
delft/eris/channel-exporter.py
+2
@@ -5,6 +5,7 @@ from dateutil.parser import parse
5 from prometheus_client import Counter, Histogram, Gauge, start_http_server, REGISTRY
6 import time
7 import sys
8 +import logging
9 from pprint import pprint
10 import json
11
@@ -56,6 +57,7 @@ def measure_channel(name):
57
58
59 if __name__ == "__main__":
60 + logging.basicConfig(level=logging.DEBUG)
61 start_http_server(9402)
62
63 with open(sys.argv[1]) as channel_data: