sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Attach AWS serverless timeout warning logs to debug mode

Open Fwang36 opened this issue 1 year ago • 2 comments

Problem Statement

For the normal python sdk, we usually only output logging with debug=True, but with the AWSLambdaIntegration() the timeout warnings are logged regardless of whether debug is on or not.

Screenshot 2023-08-24 at 12 55 38 PM

We may want to keep it consistent and attach the serverless logs to debug mode as well.

Solution Brainstorm

Maybe either attach the logging to debug mode, or add an another option to the integration to output logs or not.

Fwang36 avatar Aug 24 '23 16:08 Fwang36