8000 Consistent log keys across all runtimes · Issue #752 · aws-powertools/powertools-lambda-java · GitHub
[go: up one dir, main page]

Skip to content
Consistent log keys across all runtimes #752
Closed
@pankajagrawal16

Description

@pankajagrawal16

Is your feature request related to a problem? Please describe.

Python and Typescript use snake_case for all outputs. Java uses a mix of snake_case and camel_case.

Customers will use the same tool (CloudWatch Logs, Loggly, Datadog, etc.) to search data across logs, and if main keys are different they will find half of the information when using multiple runtimes.

At the sametime, if we break language consistency and the other application(not using powertools but standard logging libs) loose that tracking on single visibility.

Considering both the above rationale, for now, we should standardize on the same key name (snake_case) for logging output - we, Golang will also using snake_case albeit in the early phase. As it’s a breaking change for Java, let’s strive for making it configurable but a v2 should standardize it on snake_case.

Describe the solution you'd like
Ability to configure if customers want consistent logging keys same as used in powertools logging for other runtimes.

Describe alternatives you've considered

None

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Coming soon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0