Skip to content
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

Fix issue with not correctly detecting "warning" log level. #1800

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

normj
Copy link
Member

@normj normj commented Aug 31, 2024

Description of changes:
When the log level is set to warning it sets the logging environment variable to warn instead of warning which is what the .NET Lambda runtime was using. This PR adds the special case for warn to translate to .NET's warning and reworks the integration tests to test the log level through both the legacy .NET environment variable and the Lambda logging configuration properties.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@normj normj merged commit b8dbdb1 into feature/structured-logging Sep 4, 2024
3 of 4 checks passed
@normj normj deleted the normj/fix-warn-log-filter branch September 4, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants