Skip to content

Duplicated logs #1045

Closed
Closed

Description

@cw789

Problem Statement

When enable_logs: true is set alongside a manual Sentry.LoggerHandler registration via Logger.add_handlers/1 in Application.start/2, both handlers end up active simultaneously because sentry_logger_handler_registered?/0 is called before the user application starts.

Solution Brainstorm

No response

Activity

  1. linear-code commented on Apr 30, 2026

    @linear-code
  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Apr 30, 2026
  3. self-assigned this
    on Apr 30, 2026
  4. solnic commented on Apr 30, 2026

    @solnic
    Collaborator

    Thanks for reporting this. It should be fixed via #1046 in 13.0.1 😄

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Apr 30, 2026
  6. cw789 commented on Apr 30, 2026

    @cw789
    Author

    Thanks a lot. Solution looks good to me.

  7. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Apr 30, 2026
  8. solnic commented on May 5, 2026

    @solnic
    Collaborator

    This was addressed in 13.0.1 - thanks again for the report!

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

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions