Skip to content

LoggingIntegration extra vs context #4687

Description

@martinlehoux

Problem Statement

Sentry SDK seems to move away from set_extra in favor of set_context.
But at the same time, the LoggingIntegration still relies on this through _BaseHandler._extra_from_record.
Is there a path forward on this topic? We would like to use the logger extra dict but we don't want to take a step back in our integration.

Solution Brainstorm

Adding a Logger context?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions