Title: Remove experimental flag for logs options · Issue #4641 · getsentry/sentry-python · GitHub
Open Graph Title: Remove experimental flag for logs options · Issue #4641 · getsentry/sentry-python
X Title: Remove experimental flag for logs options · Issue #4641 · getsentry/sentry-python
Description: Instead of sentry_sdk.init( dsn=MY_DSN, _experiments={ "enable_logs": True, "before_send_log": before_send_log }, ) we do sentry_sdk.init( dsn=MY_DSN, "enable_logs": True, "before_send_log": before_send_log ) Ideally this is done in a ba...
Open Graph Description: Instead of sentry_sdk.init( dsn=MY_DSN, _experiments={ "enable_logs": True, "before_send_log": before_send_log }, ) we do sentry_sdk.init( dsn=MY_DSN, "enable_logs": True, "before_send_log": before...
X Description: Instead of sentry_sdk.init( dsn=MY_DSN, _experiments={ "enable_logs": True, "before_send_log": before_send_log }, ) we do sentry_sdk.init( dsn=MY_DSN, "enable_logs": T...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4641
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove experimental flag for logs options","articleBody":"Instead of\n\n```py\nsentry_sdk.init(\n dsn=MY_DSN,\n _experiments={\n \"enable_logs\": True,\n \"before_send_log\": before_send_log\n },\n)\n```\n\nwe do\n\n```py\nsentry_sdk.init(\n dsn=MY_DSN,\n \"enable_logs\": True,\n \"before_send_log\": before_send_log\n)\n```\n\nIdeally this is done in a backwards compatible way, so that in v2 of python we support both the top level `enable_logs` and `_experiments[\"enable_logs\"]` options, but in v3 we only support `enable_logs`.","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2025-07-29T14:40:34Z","url":"https://github.com/getsentry/sentry-python/issues/4641"}
| 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:908402f1-f5ac-8254-3dc5-8a6334ba3f15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFFA:3C21B:65C13:86241:6B00B86F |
| html-safe-nonce | d24cfa9aeae91518cf8f795d251f7c73d11d2c8f73ca8fe09a7669365563dbc7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkZBOjNDMjFCOjY1QzEzOjg2MjQxOjZCMDBCODZGIiwidmlzaXRvcl9pZCI6IjQ5MDY5MTc0NzIyMzk2NjMyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 672630025661fce1a460a72abe1695147244dc46142c241856efb7d44b56a55f |
| hovercard-subject-tag | issue:3273919919 |
| 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/4641/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9dab3beb28e3c052674b590f899e010eba02984e885d796afeeea6c6bba115a9/getsentry/sentry-python/issues/4641 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9dab3beb28e3c052674b590f899e010eba02984e885d796afeeea6c6bba115a9/getsentry/sentry-python/issues/4641 |
| og:image:alt | Instead of sentry_sdk.init( dsn=MY_DSN, _experiments={ "enable_logs": True, "before_send_log": before_send_log }, ) we do sentry_sdk.init( dsn=MY_DSN, "enable_logs": True, "before_send_log": before... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| 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 | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width