You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Only expose `active_storage` keys on span data if `send_default_pii` is on ([#2589](https://github.com/getsentry/sentry-ruby/pull/2589))
- Add new `Sentry.logger` for [Structured Logging](https://develop.sentry.dev/sdk/telemetry/logs/) feature ([#2620](https://github.com/getsentry/sentry-ruby/pull/2620)).
17
+
18
+
To enable structured logging you need to turn on the `enable_logs` configuration option:
19
+
```ruby
20
+
Sentry.init do |config|
21
+
# ... your setup ...
22
+
config.enable_logs =true
23
+
end
24
+
```
25
+
:warning: When this is enabled, previous `Sentry.logger` should no longer be used for internal SDK
26
+
logging - it was replaced by `Sentry.configuration.sdk_logger` and should be used only by the SDK
27
+
itself and its extensions.
17
28
- New configuration option called `active_job_report_on_retry_error` which enables reporting errors on each retry error ([#2617](https://github.com/getsentry/sentry-ruby/pull/2617))
0 commit comments