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.
Description of changes: When the log level is set to warning it sets the logging environment variable to
warn
instead ofwarning
which is what the .NET Lambda runtime was using. This PR adds the special case forwarn
to translate to .NET'swarning
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.