Skip to content

Normalize log level values #206

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

Closed
AlexanderWert opened this issue Jun 3, 2022 · 1 comment · Fixed by #208
Closed

Normalize log level values #206

AlexanderWert opened this issue Jun 3, 2022 · 1 comment · Fixed by #208
Labels
aws-λ-extension AWS Lambda Extension

Comments

@AlexanderWert
Copy link
Member

The extension currently only accepts correctly capitalized log level values.
For example, the value DEBUG is ignored (and it falls back to trace), because the extension expects the value debug instead.

We need to lowercase the log level values before using them.

@github-actions github-actions bot added the aws-λ-extension AWS Lambda Extension label Jun 3, 2022
@felixbarny
Copy link
Member

and it falls back to trace

A better fallback seems to be info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws-λ-extension AWS Lambda Extension
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants