aws / aws/chalice

setting logging level for lambda function not working

Open
#2,117 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the logging guide and Lambda-specific configuration documentation linked in the issue, then reproduce the behavior with a Chalice Lambda created using the shown logging settings. Trace how the deployment configuration reaches the created Lambda. Done means the configured logging level and JSON format are applied consistently at creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.