JSON logging support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- aws, powershell
调研方向
首先阅读链接的 AWS Lambda 日志记录文档,并追踪 AWS_LAMBDA_LOG_FORMAT 与 runtime 现有对 Write-Host、Write-Debug、-Verbose、-Warning、Write-Information 以及隐式 ErrorRecords 的处理之间的关系。完成标准是为 runtime 固有、客户、结构化和隐式日志事件定义并实现 JSON 和纯文本行为。
由索引模型根据 Issue 内容生成。
描述
AWS Lambda offers support for both plain-text and JSON format logs.
Lambda exposes this configuration via the AWS_LAMBDA_LOG_FORMAT environment variable. It's currently missing from the environment variable documentation (see case 175226052300866), but the variable appears to be set to either Text or JSON depending on customer configuration.
There's a couple of aspects to supporting this:
- Runtime-intrinsic logs (e.g. anything that's
Write-Host '[RUNTIME-<...>') - Customer logs that use:
- Unstructured string-only logs (
Write-Debug,-Verbose,-Warning) - Unstructured partially-formatted logs (
Write-Host) - Structured logs via
Write-Information
- Unstructured string-only logs (
- Implicit log events (e.g. ErrorRecords generated from parser errors)
- 主要语言
- PowerShell
- 星标
- 65
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
awslabs/aws-lambda-powershell-runtime 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
awslabs/aws-lambda-powershell-runtime#44 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
awslabs/aws-lambda-powershell-runtime#37 · 9 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
awslabs/aws-lambda-powershell-runtime#30 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
awslabs/aws-lambda-powershell-runtime#22 · 9 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
awslabs/aws-lambda-powershell-runtime#16 · 10 条评论 ·
查看 awslabs/aws-lambda-powershell-runtime 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
platform-mesh/helm-charts#2521 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
n8n-io/terraform-aws-n8n#147 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
carverauto/serviceradar#4596 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
reflex-dev/reflex#7296 · 1 条评论 ·