From b7651f2b5270e43ac37240a706164fc5a708f39f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 1 Jan 2022 17:24:17 +0100 Subject: ... --- overlays/zte-prometheus-exporter/zte-prometheus-exporter.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'overlays/zte-prometheus-exporter') diff --git a/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py b/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py index a0e1f23c..fc719a96 100644 --- a/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py +++ b/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py @@ -183,6 +183,9 @@ class ZTEMetrics: return metrics.encode('utf-8') class ZTEMetricsServer(BaseHTTPRequestHandler): + def log_message(self, format, *args): + pass + def do_GET(self): zte_metrics = ZTEMetrics.instance() zte_metrics.update() -- cgit v1.2.3