ECR image .NET 6 different CloudWatch log format

Viewed 288

We are using lambda container image with .NET Core and we updated from public.ecr.aws/lambda/dotnet:5 to public.ecr.aws/lambda/dotnet:6.

Now we get a different log format on CloudWatch when we call Console.WriteLine():

public.ecr.aws/lambda/dotnet:5

Hello World

public.ecr.aws/lambda/dotnet:6

2021-12-23T13:36:12.694Z 89b35e73-2022-4XX5-86f9-eXXXXXXef3 info Hello World

Is there any way to remove unnecessary information?

1 Answers
Related