Enable logging by default [React Native]

Open
#6,083 1 comment 0 reactions 1 assignee View on GitHub

@alwx is already working on this.

Since May 4, 2026.

Assessment

This issue has not been assessed yet.

Description

Breaking Change Logs React-Native Task

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.
Dominant language
TypeScript
Stars
1.8k
Forks
367
Avg merge
1d 6h
Merged PRs (30d)
94

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-react-native

All issues in getsentry/sentry-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.