From 1d8115b0221779497d2cf33378b970b04a833d03 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 1 Sep 2025 02:33:22 +0300 Subject: Fixed telemetry logs cyclic loop --- .../Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Software/Visual_Studio/Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs') diff --git a/Software/Visual_Studio/Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs b/Software/Visual_Studio/Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs index 2c8020f7c..2f592f22a 100644 --- a/Software/Visual_Studio/Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs +++ b/Software/Visual_Studio/Tango.Telemetry/Sources/TelemetryLogsStreamingSource.cs @@ -64,6 +64,8 @@ namespace Tango.Telemetry.Sources if (IsStarted) { if (!Config.Categories.Contains(log.Category)) return; + if (log.ClassName != null && log.ClassName.StartsWith("Telemetry")) return; + TelemetryLog tLog = LogMapper.MapLog(log); TelemetryAvailable?.Invoke(this, new TelemetryAvailableEventArgs() { TelemetryObject = tLog }); -- cgit v1.3.1