Skip to content

Remove auto.log.console from default integrations #6231

@unendingblue

Description

@unendingblue

Problem Statement

This is related to #5506

I think it's more sensible to have the auto.log.console integration not enabled by default. At the time of writing, there is no mention in the docs that all logs are sent by default either.

Alternatively, there could be an enableAutoLogs option in Sentry.init. Having to remove the integration manually feels hacky.

For simple projects having them turned on is probably fine, but when you have many different libraries that write to console it become a goose hunt.

FYI the current default sends a Running "main" log on every app start.

Solution Brainstorm

No response

Are you willing to submit a PR?

None

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions