getsentry / getsentry/sentry-java
Enable logging by default [Java]
Ouverte
breaking change
Java
Logs
Platform: Java
Task
- Langage dominant
- Kotlin
- Étoiles
- 1.4k
- Forks
- 478
- Merge moyen
- 2 j 23 h
- PR mergées (30 j)
- 67
Description
Update logs behavior to follow the same opt-in model as `enableMetrics`:
* Users are considered opted-in when:
* They call the equivalent of `Sentry.logger.*`, or
* They explicitly enable a logging integration.
* Change default: set enable logs to `true`.
* Audit all logging integrations to ensure:
* No logs are emitted unless the integration is explicitly enabled.
* Update documentation:
* Explain new default behavior of `enableLogs`.
* Clarify requirement to explicitly enable logging integrations.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.