From a939f2aeea350b3781d6a0441877d21c87fa80de Mon Sep 17 00:00:00 2001 From: Mahad Janjua Date: Fri, 9 Aug 2024 11:39:57 -0700 Subject: [PATCH] Remove testing logs --- .../java/com/amazonaws/xray/contexts/LambdaSegmentContext.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/contexts/LambdaSegmentContext.java b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/contexts/LambdaSegmentContext.java index 6198eebe..02c67e72 100644 --- a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/contexts/LambdaSegmentContext.java +++ b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/contexts/LambdaSegmentContext.java @@ -55,14 +55,12 @@ public Subsegment beginSubsegment(AWSXRayRecorder recorder, String name) { } TraceHeader traceHeader = LambdaSegmentContext.getTraceHeaderFromEnvironment(); - logger.warn("TRACE HEADER IN CODE: " + traceHeader.toString()); Entity entity = getTraceEntity(); if (entity == null) { // First subsegment of a subsegment branch Segment parentSegment; // Trace header either takes the structure `Root=...;` or // `Root=...;Parent=...;Sampled=...;` if (traceHeader.getRootTraceId() != null && traceHeader.getParentId() != null && traceHeader.getSampled() != null) { - logger.warn("CREATING FACADE SEGMENT"); parentSegment = new FacadeSegment( recorder, traceHeader.getRootTraceId(),