-
Notifications
You must be signed in to change notification settings - Fork 45
Setting DD_LOG_LEVEL to TRACE crashes python function #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @MatejBalantic, thanks for reporting this issue. It definitely looks like a bug in our layer. I'll get started on a fix for it. |
A fix for this has been merged and will go out with our next release. Thanks again for catching this! |
I'm using the image: |
@jon-laf-nexient-numo these are two different components. You don't need to update the Lambda Extension, you need to update this package to the latest version. |
Expected Behavior
No crash when setting environment variable
DD_LOG_LEVEL
toTRACE
Actual Behavior
Crash
Steps to Reproduce the Problem
I am using DataDog lambda extension.
I've set the environment variable
DD_LOG_LEVEL
toTRACE
as one of the allowed values according to the docs.After deployment, lambda crashed in runtime with the following error:
It seems that the python handler attempts to set python's logger level to mirror
DD_LOG_LEVEL
, butTRACE
isn't one of allowed levels.Specifications
Stacktrace
The text was updated successfully, but these errors were encountered: