Skip to content

Docs: impact of clear_state=True when using Lambda Layers & Logger #4458

@ChrisHills463

Description

@ChrisHills463

What were you searching in the docs?

I was reading about Logger()

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/core/logger/#clearing-all-state

How can we improve?

The documentation contains a warning Danger: This can have unintended side effects if you use Layers however I believe this relates to using other layers as opposed to using the Powertools layer itself.

Got a suggestion in mind?

Something like...

Danger: This can have unintended side effects if you use Layers other than Powertools.

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationlogger

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions