|
10 | 10 | - Add a `logsEnabled` argument to the `SentryTimberIntegration` and `SentryTimberTree` JVM |
11 | 11 | constructors. It defaults to `false` for Kotlin callers; Java callers using the explicit level |
12 | 12 | constructors must pass the new argument. ([#5943](https://github.com/getsentry/sentry-java/pull/5943)) |
| 13 | +- Remove the obsolete aggregate Sentry Metrics options `metrics.enabled` and |
| 14 | + `options.getMetrics().setEnabled(...)`. Direct `Sentry.metrics()` calls continue to capture |
| 15 | + Metrics whenever the SDK is enabled. ([#5953](https://github.com/getsentry/sentry-java/pull/5953)) |
| 16 | +- Remove the obsolete aggregate Sentry Logs options `logs.enabled` and |
| 17 | + `options.getLogs().setEnabled(...)`. ([#5947](https://github.com/getsentry/sentry-java/pull/5947)) |
| 18 | + Direct `Sentry.logger()` calls continue to capture Logs whenever the SDK is enabled. Sentry Logs |
| 19 | + capture is disabled by default for every automatic logging integration. Set the applicable |
| 20 | + integration-specific option to `true` to opt in: |
| 21 | + - Logback appender: `logsEnabled` |
| 22 | + - Log4j2 appender: `logsEnabled` |
| 23 | + - JUL handler: `io.sentry.jul.SentryHandler.logsEnabled` |
| 24 | + - Spring Boot logging auto-configuration: `sentry.logging.logs-enabled` |
| 25 | + - Timber: `timberLogCaptureEnabled` or `io.sentry.timber.logs.enabled` manifest metadata |
| 26 | + - Logcat: `logcatLogCaptureEnabled` or `io.sentry.logcat.logs.enabled` manifest metadata |
13 | 27 |
|
14 | 28 | ### Features |
15 | 29 |
|
16 | | -- Remove the aggregate Sentry Metrics enable flag; `Sentry.metrics()` calls now capture Metrics by default ([#5953](https://github.com/getsentry/sentry-java/pull/5953)) |
17 | | -- Remove the aggregate Sentry Logs enable flag; manual `Sentry.logger()` calls now capture Logs by default ([#5947](https://github.com/getsentry/sentry-java/pull/5947)) |
18 | 30 | - Add an explicit Logs opt-in to Spring Boot logging auto-configuration ([#5946](https://github.com/getsentry/sentry-java/pull/5946)) |
19 | 31 | - Add an explicit Logs opt-in to the Android Logcat integration ([#5945](https://github.com/getsentry/sentry-java/pull/5945)) |
20 | 32 | - Add an explicit Logs opt-in to the Android Timber integration ([#5943](https://github.com/getsentry/sentry-java/pull/5943)) |
|
0 commit comments