Closed
Description
Description
In #52, it was noted that calls to unsupported APIs will result in exceptions that break a customer's app. We suggested a workaround where setting AWS_XRAY_CONTEXT_MISSING=LOG_ERROR
logs instead of throwing an exception as explained in our X-Ray Java SDK Documentation.
However, there are so many logs that the log file is flooded.
We should update the code to support an option like IGNORE
so that neither an exception is raised nor a log message is printed out. (Or we can log at a Debug
log level with LOG_DEBUG
).
Perhaps we can even make it only log once so that the customer can still notice the issue.
aws-xray-sdk-python/aws_xray_sdk/core/context.py
Lines 122 to 125 in f5f9c47
Metadata
Metadata
Assignees
Labels
No labels