From 75bc98cff8a04a37479a8c333592ad4650b32150 Mon Sep 17 00:00:00 2001 From: adamnfish Date: Tue, 19 Dec 2023 21:45:34 +0000 Subject: [PATCH] More trace debugging --- lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala b/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala index 6177d42..aebee03 100644 --- a/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala +++ b/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala @@ -78,9 +78,9 @@ class Lambda { case "$default" => Option(AWSXRay.getCurrentSubsegment) match { case Some(subsegment) => - awsContext.getLogger.log(subsegment.getTraceId.toString) + awsContext.getLogger.log("TRACE ID: " ++ subsegment.getTraceId.toString) case None => - awsContext.getLogger.log("No subsegment found") + awsContext.getLogger.log("TRACE ID: No subsegment found") } val subsegment = AWSXRay.beginSubsegment("io.adamnfish.pokerdot.Lambda::handleRequest:$default")