Skip to content

docs(logger): clarify child Logger without parent uses root log level - #8940

Open
rdxrahul12 wants to merge 1 commit into
aws-powertools:developfrom
rdxrahul12:fix/docs-child-logger-no-parent
Open

rdxrahul12 wants to merge 1 commit into
aws-powertools:developfrom
rdxrahul12:fix/docs-child-logger-no-parent

Conversation

@rdxrahul12

Copy link
Copy Markdown

Fixes #8935.

Since #8842, a child Logger without a level stays NOTSET. Without a parent Logger, NOTSET resolves against the root logger, so the child may use the root log level instead of Powertools INFO default. Clarifies the docs accordingly.

Co-Authored-By: Codebuff noreply@codebuff.com

Since aws-powertools#8842, a child Logger without a level stays NOTSET. Without a
parent Logger, NOTSET resolves against the root logger, so the child
may use the root log level instead of Powertools' INFO default.

Fixes aws-powertools#8935.

Co-Authored-By: Codebuff <noreply@codebuff.com>
@rdxrahul12
rdxrahul12 requested a review from a team as a code owner December 2, 2026 10:20
@boring-cyborg

boring-cyborg Bot commented Dec 2, 2026

Copy link
Copy Markdown

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@powertools-for-aws-oss-automation

Copy link
Copy Markdown

No acknowledgement section found. Please make sure you used the template to open a PR and didn't remove the acknowledgment section. Check the template at .github/PULL_REQUEST_TEMPLATE.md#acknowledgment

@boring-cyborg boring-cyborg Bot added the documentation Improvements or additions to documentation label Dec 2, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: child Logger without a parent uses the root log level since #8842

1 participant