From 9d1cb7a1f74e29b669a04e31074330db6b93ccc2 Mon Sep 17 00:00:00 2001 From: Brad Reed Date: Tue, 22 Oct 2024 10:48:09 +0100 Subject: [PATCH] just log WS logs --- metrics/src/logprocessor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/src/logprocessor.rs b/metrics/src/logprocessor.rs index abb9d25..e5dec10 100644 --- a/metrics/src/logprocessor.rs +++ b/metrics/src/logprocessor.rs @@ -189,7 +189,6 @@ async fn handle_websocket_log(log: &BaseLog, metric_obj: &Telemetry) { } pub async fn log_processor(logline: &String, metric_obj: &Telemetry, tracer: &trace::Tracer) { - println!("{}", logline); metric_obj.LOG_LINES_COUNTER_TOTAL.inc(); let log_result = from_str::(logline); match log_result { @@ -202,6 +201,7 @@ pub async fn log_processor(logline: &String, metric_obj: &Telemetry, tracer: &tr handle_http_log(&log,metric_obj).await; } "websocket-log" => { + println!("Got WS log: {}", logline); handle_websocket_log(&log,metric_obj).await; } _ => {}