Skip to content

Make it easier to configure Logging with other integrations #4594

@jamescrosswell

Description

@jamescrosswell

It's not obvious to SDK users how they should be configuring Sentry.SeriLog and other logging integrations in conjunction with Sentry.AspNetCore, Sentry.Maui etc. In particular, it's easy for people to make the mistake of using one of the overloads to initialise logging that accepts a DSN (effectively initialising the Sentry SDK twice, with potentially conflicting/contradictory settings).

For example, see:

We should find a way to prevent this. One potential solution might be an analyzer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions