aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.
Apache License 2.0
266 stars 155 forks source link

Lots of new logs since 3.7.0 #656

Closed j0k3r closed 2 months ago

j0k3r commented 2 months ago

Since the 3.7.0 version, we do have a lot of useless logs on all our lambdas:

2024-06-06T13:22:09.119Z    undefined   ERROR   _X_AMZN_TRACE_ID is missing required information
2024-06-06T13:22:09.131Z    undefined   ERROR   Empty or non-string trace ID provided

3.6.0 doesn't log these messages.

How can we deal with them? How can we silent them or removed them?

wangzlei commented 2 months ago

The PR introduced the issue has been reverted by https://github.com/aws/aws-xray-sdk-node/pull/657 Please bump to the latest 3.8.0 with the fix.

j0k3r commented 2 months ago

The revert of course fixed the problem.