Closed
Description
Expected behavior
When setting the LOG_LEVEL=debug environment variable, the out put of a Lambda context.logger.debug(...)
call should be visible on CloudWatch logs.
Actual behavior
No logs are produced.
Steps to reproduce
- create a Lambda function with
context.logger.debug("my log message")
- Deploy and invoke it.. Be sure you define LOG_LEVEL=debug as an environment variable
# SAM Template
Environment:
Variables:
LOG_LEVEL: debug
If possible, minimal yet complete reproducer code (or URL to code)
See https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/APIGateway
What version of this project (swift-aws-lambda-runtime
) are you using?
main
Swift version
6.x
Amazon Linux 2 docker image version
ALI2
Metadata
Metadata
Assignees
Labels
No labels