aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.67k stars 1.01k forks source link

setting logging level for lambda function not working #2117

Open gmontagne opened 2 months ago

gmontagne commented 2 months ago

lambda function is at creation set to log in txt format, ignoring the logging level set in the code: https://aws.github.io/chalice/topics/logging

suggest to add a config setting to set logging to json (or preferably standard create the lambda with logging set to json). https://aws.github.io/chalice/topics/configfile#lambda-specific-configuration

Screenshot 2024-09-09 at 20 52 15 Screenshot 2024-09-09 at 20 52 02