Skip to content

Option for lighter loggingΒ #236

@richardtapendium

Description

@richardtapendium

This is a Feature Proposal

Description

Would it be possible to have an option to make the logging lighter on the lambda-powertools-logger?

Currently, every single call to Log.method logs out awsRegion, functionName etc. We would like to be able to log this data only on the first log of a function (usually the event data) and then turn it off for the rest. This would make it much easier to parse our logs.

If this is something the team is open to, I'd be happy to make the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions