-
-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Labels
Description
Description
The default SDK log level is debug. When you turn on option.debug = true the SDK logs too much information, so warnings and errors get lost. Instead the SDK should log only warnings and above when option.debug = true. Users can manually set the diagnosticLevel to debug if required. When we detect a debug build, we turn on debug = true, so you get only the warnings and errors. We still need to discuss if we're going to handle this as a breaking change or not, and we should create a meta issue for this to align across all SDKs.
This is also required to surface severe SDK misconfiguration or other errors clearly to the user such as: #4566
### π Blocked by
- [ ] https://github.com/getsentry/sentry-docs/pull/12100
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog