René's URL Explorer Experiment


Title: Error logging is incompatible with Lambda Advanced Logging Controls · Issue #202 · aws/aws-lambda-python-runtime-interface-client · GitHub

Open Graph Title: Error logging is incompatible with Lambda Advanced Logging Controls · Issue #202 · aws/aws-lambda-python-runtime-interface-client

X Title: Error logging is incompatible with Lambda Advanced Logging Controls · Issue #202 · aws/aws-lambda-python-runtime-interface-client

Description: For Lambdas configured to log in JSON (_AWS_LAMBDA_LOG_FORMAT == LogFormat.JSON), error log messages contain the property "log_level": "ERROR". If the Lambda is configured to use log-level filtering the filtering doesn't work as expected...

Open Graph Description: For Lambdas configured to log in JSON (_AWS_LAMBDA_LOG_FORMAT == LogFormat.JSON), error log messages contain the property "log_level": "ERROR". If the Lambda is configured to use log-level filterin...

X Description: For Lambdas configured to log in JSON (_AWS_LAMBDA_LOG_FORMAT == LogFormat.JSON), error log messages contain the property "log_level": "ERROR". If the Lambda is configured to us...

Opengraph URL: https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error logging is incompatible with Lambda Advanced Logging Controls","articleBody":"For Lambdas configured to log in JSON (`_AWS_LAMBDA_LOG_FORMAT == LogFormat.JSON`), error log messages contain [the property `\"log_level\": \"ERROR\"`](https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/f11e7c5c5cc7caf7a44263d3978e0dfda4f15250/awslambdaric/bootstrap.py#L111). If the Lambda is configured to use [log-level filtering](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs-log-level.html) the filtering doesn't work as expected because the log-level filtering feature makes the assumption that the message contains the JSON property `level` (not `log_level`). Lambda will assign the log output the level `INFO` to messages with missing (or invalid) `level` property, i.e. all messages created by the awslambdaric function `log_error` are no longer considered errors because the property `log_level` is simply ignored by Lambda.\n\nHence, if we use log-level filtering and set the level to `WARN` (a pretty common config for production) **all error log messages created by awslambdaric (most notably uncaught handler errors) are missing in CloudWatch** because they are wrongly attributed the (default) log level `INFO`.\n\nWe should either add the property `level` to the `error_result` or replace the property `log_level` with `level` in the `error_result` created by [`log_error(...)` ](https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/f11e7c5c5cc7caf7a44263d3978e0dfda4f15250/awslambdaric/bootstrap.py#L111).","author":{"url":"https://github.com/faberchri","@type":"Person","name":"faberchri"},"datePublished":"2026-04-27T20:54:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/202/aws-lambda-python-runtime-interface-client/issues/202"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f2fdfd44-1518-26d2-7762-b29960c45591
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD1AE:30B53D:31B14BB:330B1B0:6A63281A
html-safe-noncefbd8a8397269a057959b869cb10a8c6d0e2cb0076882249395d319b99407b8cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUFFOjMwQjUzRDozMUIxNEJCOjMzMEIxQjA6NkE2MzI4MUEiLCJ2aXNpdG9yX2lkIjoiNjQyNjgyMjAzNjUzNjEwOTA4MiIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmacbca6a79b9166b18ad01789cb0945b98442e0870c30cf80ea3c9c49095c4e728d
hovercard-subject-tagissue:4338819492
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/aws/aws-lambda-python-runtime-interface-client/202/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7dd9e91b8e257550d89553d924c2d86a5ab4628bc574bcfd88ede72a559d2549/aws/aws-lambda-python-runtime-interface-client/issues/202
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7dd9e91b8e257550d89553d924c2d86a5ab4628bc574bcfd88ede72a559d2549/aws/aws-lambda-python-runtime-interface-client/issues/202
og:image:altFor Lambdas configured to log in JSON (_AWS_LAMBDA_LOG_FORMAT == LogFormat.JSON), error log messages contain the property "log_level": "ERROR". If the Lambda is configured to use log-level filterin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefaberchri
hostnamegithub.com
expected-hostnamegithub.com
None30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa
turbo-cache-controlno-preview
go-importgithub.com/aws/aws-lambda-python-runtime-interface-client git https://github.com/aws/aws-lambda-python-runtime-interface-client.git
octolytics-dimension-user_id2232217
octolytics-dimension-user_loginaws
octolytics-dimension-repository_id292411453
octolytics-dimension-repository_nwoaws/aws-lambda-python-runtime-interface-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id292411453
octolytics-dimension-repository_network_root_nwoaws/aws-lambda-python-runtime-interface-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release331492a48ebd91d66ef2de38e1901bb911c9fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-python-runtime-interface-client%2Fissues%2F202
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-python-runtime-interface-client%2Fissues%2F202
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=aws%2Faws-lambda-python-runtime-interface-client
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202
Please reload this pagehttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202
aws https://github.com/aws
aws-lambda-python-runtime-interface-clienthttps://github.com/aws/aws-lambda-python-runtime-interface-client
Notifications https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Fork 83 https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Star 294 https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Code https://github.com/aws/aws-lambda-python-runtime-interface-client
Issues 22 https://github.com/aws/aws-lambda-python-runtime-interface-client/issues
Pull requests 14 https://github.com/aws/aws-lambda-python-runtime-interface-client/pulls
Discussions https://github.com/aws/aws-lambda-python-runtime-interface-client/discussions
Actions https://github.com/aws/aws-lambda-python-runtime-interface-client/actions
Projects https://github.com/aws/aws-lambda-python-runtime-interface-client/projects
Security and quality 0 https://github.com/aws/aws-lambda-python-runtime-interface-client/security
Insights https://github.com/aws/aws-lambda-python-runtime-interface-client/pulse
Code https://github.com/aws/aws-lambda-python-runtime-interface-client
Issues https://github.com/aws/aws-lambda-python-runtime-interface-client/issues
Pull requests https://github.com/aws/aws-lambda-python-runtime-interface-client/pulls
Discussions https://github.com/aws/aws-lambda-python-runtime-interface-client/discussions
Actions https://github.com/aws/aws-lambda-python-runtime-interface-client/actions
Projects https://github.com/aws/aws-lambda-python-runtime-interface-client/projects
Security and quality https://github.com/aws/aws-lambda-python-runtime-interface-client/security
Insights https://github.com/aws/aws-lambda-python-runtime-interface-client/pulse
Error logging is incompatible with Lambda Advanced Logging Controlshttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202#top
https://github.com/faberchri
faberchrihttps://github.com/faberchri
on Apr 27, 2026https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/202#issue-4338819492
the property "log_level": "ERROR"https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/f11e7c5c5cc7caf7a44263d3978e0dfda4f15250/awslambdaric/bootstrap.py#L111
log-level filteringhttps://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs-log-level.html
log_error(...) https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/f11e7c5c5cc7caf7a44263d3978e0dfda4f15250/awslambdaric/bootstrap.py#L111
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.