Title: LoggingIntegration extra vs context · Issue #4687 · getsentry/sentry-python · GitHub
Open Graph Title: LoggingIntegration extra vs context · Issue #4687 · getsentry/sentry-python
X Title: LoggingIntegration extra vs context · Issue #4687 · getsentry/sentry-python
Description: Problem Statement Sentry SDK seems to move away from set_extra in favor of set_context. But at the same time, the LoggingIntegration still relies on this through _BaseHandler._extra_from_record. Is there a path forward on this topic? We ...
Open Graph Description: Problem Statement Sentry SDK seems to move away from set_extra in favor of set_context. But at the same time, the LoggingIntegration still relies on this through _BaseHandler._extra_from_record. Is...
X Description: Problem Statement Sentry SDK seems to move away from set_extra in favor of set_context. But at the same time, the LoggingIntegration still relies on this through _BaseHandler._extra_from_record. Is...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4687
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"LoggingIntegration extra vs context","articleBody":"### Problem Statement\n\nSentry SDK seems to move away from set_extra in favor of set_context.\nBut at the same time, the LoggingIntegration still relies on this through `_BaseHandler._extra_from_record`.\nIs there a path forward on this topic? We would like to use the logger extra dict but we don't want to take a step back in our integration.\n\n### Solution Brainstorm\n\nAdding a Logger context?","author":{"url":"https://github.com/martinlehoux","@type":"Person","name":"martinlehoux"},"datePublished":"2025-08-11T13:11:26Z","url":"https://github.com/getsentry/sentry-python/issues/4687"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b284647-caab-3ffb-bd26-475a9da9fae6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C686:3F8A67:182720:211EC1:6B00BE63 |
| html-safe-nonce | c957286d1e6633a4cb838d7f264dbecf94ead49acec68c21bb7db195e1a95a33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjg2OjNGOEE2NzoxODI3MjA6MjExRUMxOjZCMDBCRTYzIiwidmlzaXRvcl9pZCI6IjgxNTAxMjMwMDYzMTI2Mjc4MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ca24613a713be395ed7c22be4cb403c9018e7f3e466edf6c674fde953d199cf5 |
| hovercard-subject-tag | issue:3309991369 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/4687/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df49efcc16ac59dc78bc56a8bb25f3e4cf1f69d63eac9bf69e917cccfdd20c0a/getsentry/sentry-python/issues/4687 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df49efcc16ac59dc78bc56a8bb25f3e4cf1f69d63eac9bf69e917cccfdd20c0a/getsentry/sentry-python/issues/4687 |
| og:image:alt | Problem Statement Sentry SDK seems to move away from set_extra in favor of set_context. But at the same time, the LoggingIntegration still relies on this through _BaseHandler._extra_from_record. Is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martinlehoux |
| hostname | github.com |
| expected-hostname | github.com |
| None | 93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1fee81a280ea86312b69448e261b418189bfd5b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width