Skip to content

docs(python): Use sentry_sdk.logger in log examples#17421

Open
sentrivana wants to merge 2 commits intomasterfrom
ivana/change-logger-imports
Open

docs(python): Use sentry_sdk.logger in log examples#17421
sentrivana wants to merge 2 commits intomasterfrom
ivana/change-logger-imports

Conversation

@sentrivana
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana commented Apr 21, 2026

Replace "from sentry_sdk import logger as sentry_logger" with "import sentry_sdk" and use "sentry_sdk.logger" throughout Python log examples for consistency with the documented public API.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Replace "from sentry_sdk import logger as sentry_logger" with
"import sentry_sdk" and use "sentry_sdk.logger" throughout Python
log examples for consistency with the documented public API.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Apr 21, 2026 0:55am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Apr 21, 2026 0:55am

Request Review

@sentrivana sentrivana marked this pull request as ready for review April 21, 2026 12:13
Comment thread platform-includes/logs/usage/python.mdx
Comment thread platform-includes/logs/usage/python.mdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant